mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-15 15:52:34 +00:00
Added building component, refactored components to have setup, draw, update and tick methods, added fencing for building construction area parimeter, misc other changes.
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
class IMICRTS
|
||||
class BuildQueue < Component
|
||||
Item = Struct.new(:entity, :progress)
|
||||
def initialize(parent:)
|
||||
@parent = parent
|
||||
|
||||
def setup
|
||||
@queue = []
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user