Files
i-mic-rts/lib/entities/units/construction_worker.rb

14 lines
410 B
Ruby

IMICRTS::Entity.define_entity(:construction_worker, :unit, 1000, "Constructs buildings") do |entity|
entity.has(:movement)
entity.radius = 14
entity.movement = :ground
entity.max_health = 100.0
entity.body_image = "vehicles/construction_worker/images/construction_worker.png"
entity.shell_image = "vehicles/construction_worker/images/construction_worker_shell.png"
entity.on_tick do
end
end