Method | Description | |
---|---|---|
BotConnection ( |
Represents a connection to R2D2. On construction, this object creates a two-way connection with the bot. To properly shutdown the connection, make sure that the Dispose method is called; this is especially important if you wish to create a new BotConnection later.
|
|
DecodeObstacleGrid ( long grid ) : ].bool[ |
Decode the grid given by the `updateObstacleGrid` function.
|
|
Dispose ( ) : void |
Cleanup resources associated with the connection.
|
Method | Description | |
---|---|---|
pinger ( ) : void |
public BotConnection ( |
||
botToBase | Object implementing functions that receive from the bot | |
hostname | string | Hostname of the bo. |
return | System |
public static DecodeObstacleGrid ( long grid ) : ].bool[ | ||
grid | long | Encoded grid |
return | ].bool[ |