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 1 week ago

CameronJung commented 1 month 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 1 month ago

The definition of the movement type will be as follows:

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