Advertisement
Ham62

RoboStruct

May 21st, 2018
1,177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Type Robot field=1
  2.     CurPos as COORD
  3.     CurPosPx as COORD
  4.     Direction as Integer        'Current direction the robot is facing
  5.  
  6.     OldPos as COORD
  7.     OldPosPx as COORD
  8.     OldDirection as Integer     'Old direction the robot is facing
  9.    
  10.     iUserRobot as Integer       'is the user's robot?
  11.  
  12.     ModeFlag as uByte           'Run code or do animation? (0 = code, 0xFF = animate)
  13.     Sprite as any ptr           'Sprite of the robot
  14.  
  15.     CPUID as integer            'Identifies which CPU core to use
  16.     CPU as any ptr              'Virtual CPU for the robot
  17. End Type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement