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:
@@ -7,6 +7,8 @@ tiles = [
|
||||
]
|
||||
|
||||
IMICRTS::Entity.define_entity(:power_plant, :building, 800, "Generates power", tiles) do |entity|
|
||||
entity.has(:building)
|
||||
|
||||
entity.radius = 24
|
||||
entity.max_health = 100.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user