CameronJung / ChopperTankFlak

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

The way units process orders violates encapsulation principle #10

Closed CameronJung closed 4 months ago

CameronJung commented 6 months ago

When the player moves a unit the unit is given a raw data structure to process directly. An object encapsulating the data structure should be given instead.