Enemy robots
The last component we need to make our game playable is the actual enemy robots generated at the computer terminals. Visually, these robots are distinct from the player's tank not only by color, but also by wheel and turret design. The enemy robots are four-wheeled vehicles with rotatable claw-like arms. They will pursue the player through the game map, attempting to physically contact the player and destroy their tank:
Enemy basics
As with most of our game objects, we will build both the Enemy
class, and a manager for the class that will handle updating and drawing the enemy robots as well as coordinating them with the rest of the game.