mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-15 15:52:34 +00:00
Made building construction into a proper order (more refinements needed)
This commit is contained in:
@@ -66,6 +66,14 @@ class IMICRTS
|
||||
def deserialize
|
||||
end
|
||||
|
||||
def clear_orders
|
||||
@orders.clear
|
||||
end
|
||||
|
||||
def add_order(order)
|
||||
@orders.push(order)
|
||||
end
|
||||
|
||||
def has(symbol)
|
||||
component = Component.get(symbol)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user