mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-14 07:12:34 +00:00
Redid menus, stubbed Entity
This commit is contained in:
12
lib/zorder.rb
Normal file
12
lib/zorder.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class IMICRTS
|
||||
class ZOrder
|
||||
base_z = 5
|
||||
enum = [
|
||||
:GROUND_VEHICLE
|
||||
]
|
||||
|
||||
enum.each_with_index do |constant, index|
|
||||
self.const_set(constant, index + base_z)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user