Added images for 'all' entities, added Tank

This commit is contained in:
2019-10-15 11:27:17 -05:00
parent 5e7bdeba57
commit 6cd17ba7c9
41 changed files with 622 additions and 168 deletions

12
lib/entities/tank.rb Normal file
View File

@@ -0,0 +1,12 @@
IMICRTS::Entity.define_entity(:tank, :unit, 800, "Attacks ground targets") do |entity|
entity.radius = 14
entity.movement = :ground
entity.max_health = 100.0
entity.shell_image = "vehicles/tank/tank_shell.png"
entity.turret_shell_image = "vehicles/tank/tank_turret_shell.png"
entity.on_tick do
end
end