Closed darozak closed 7 months ago
Places and draws a power station (https://github.com/darozak/Advolition/commit/d1886d39c112a2d10d0bd791cc4944a949d2cb70). Need to allow the robot to interact with it.
Robots can now activate an adjacent power station to recharge their battery (https://github.com/darozak/Advolition/commit/dc78a836672c4232f45e7675a4301ceee73b3ad0).
Robots will be able to interact with terrain features such as doors, power stations, and repair pods by submitting an activate command that gives the coordinates of the object. In general, the robot will need to be adjacent to the object in order to activate it.
I'll start by allowing the robot to activate an adjacent power station and recharge its battery. Once I successfully code this interaction, the others should follow fairly easily.