CameronJung / ChopperTankFlak

A simple rock-paper-scissors strategy game
0 stars 0 forks source link

Add a new enum for movement type #42

Closed CameronJung closed 2 months ago

CameronJung commented 3 months ago

Currently, weather a unit can move on a type of terrain has been determined by the unit type. The new ranged unit will share the terrain capabilities of another unit; therefore a new movement type enum will be added to Universal Constants. The rest of the code concerning terrain and movement will be refactored to check this new property instead of the unit type.

CameronJung commented 3 months ago

The definition of the movement type will be as follows:

  1. Legs
  2. Rotary Wings
  3. Treads
  4. Wheels