Basic unit selection implemented

This commit is contained in:
2019-10-01 14:54:35 -05:00
parent b945255849
commit abc4305656
4 changed files with 71 additions and 12 deletions

View File

@@ -2,7 +2,14 @@ class IMICRTS
class ZOrder
base_z = 5
enum = [
:GROUND_VEHICLE
:TILE,
:DECORATION,
:GROUND_VEHICLE,
:BUILDING,
:AIR_VEHICLE,
:ENTITY_BOUNDING_BOX,
:ENTITY_GIZMOS, # Health bar and the like
]
enum.each_with_index do |constant, index|