mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-16 00:02:33 +00:00
added on_order handler to entities and components, added visibility map
This commit is contained in:
@@ -6,6 +6,7 @@ IMICRTS::Entity.define_entity(:helicopter, :unit, 400, 40, "Attacks ground targe
|
||||
entity.radius = 14
|
||||
entity.movement = :air
|
||||
entity.max_health = 100.0
|
||||
entity.position.z = IMICRTS::ZOrder::AIR_VEHICLE
|
||||
|
||||
entity.body_image = "vehicles/helicopter/helicopter.png"
|
||||
entity.shell_image = "vehicles/helicopter/helicopter_shell.png"
|
||||
|
||||
Reference in New Issue
Block a user