mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-13 23:02:35 +00:00
12 lines
196 B
Ruby
12 lines
196 B
Ruby
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 |