An NDoc Documented Class Library

Robot Methods

The methods of the Robot class are listed below. For a complete list of Robot class members, see the Robot Members topic.

Public Instance Methods

BackOverloaded. Move the bot backward with the distance specified
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FireBulletOverloaded. Fire one round of bullets
FireSonarFire a sonar packet in the same direction as the turret
ForwardOverloaded. Move the bot forward with the distance specified
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeThis method will be called when the bot assembly is first loaded
StopStop the bot from moving further
StopTurnStop the bot from turning
ThinkThis method will be called every tick depending on the framerate.
ToString (inherited from Object)Returns a String that represents the current Object.
TurnTurn the bot with the angle specifed in radians
TurnGunLeftTurn the turret to the left with the angle specified in radians
TurnGunRightTurn the turret to the right with the angle specified in radians
TurnLeftTurn the bot to the left with the angle specifed in radians
TurnRightTurn the bot to the right with the angle specifed in radians

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Robot Class | Virii Namespace