Robot Constructor | Initializes a new instance of the Robot class. |
Avatar | |
IsBotInMotion | Returns true if the bot is moving or rotating |
IsBotMoving | Returns true if the bot is moving forward or backward |
IsBotRotating | Returns true if the bot is rotating |
Back | Overloaded. Move the bot backward with the distance specified |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
FireBullet | Overloaded. Fire one round of bullets |
FireSonar | Fire a sonar packet in the same direction as the turret |
Forward | Overloaded. Move the bot forward with the distance specified |
GetFineCoors | |
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. |
Initialize | This method will be called when the bot assembly is first loaded |
OnBulletHitBot | |
OnBulletHitWall | |
OnHitByBullet | |
OnHitBySonar | |
OnRamRobot | |
OnRamWall | |
OnSonarHitBot | |
OnSonarHitWall | |
Stop | Stop the bot from moving further |
StopTurn | Stop the bot from turning |
Think | This method will be called every tick depending on the framerate. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Turn | Turn the bot with the angle specifed in radians |
TurnGunLeft | Turn the turret to the left with the angle specified in radians |
TurnGunRight | Turn the turret to the right with the angle specified in radians |
TurnLeft | Turn the bot to the left with the angle specifed in radians |
TurnRight | Turn the bot to the right with the angle specifed in radians |
BulletHitBotEvent | |
BulletHitWallEvent | |
HitByBulletEvent | |
HitBySonarEvent | |
RamRobotEvent | |
RamWallEvent | |
SonarHitBotEvent | |
SonarHitWallEvent |
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. |