Class: Rubots::Command::Fire
Instance Method Summary collapse
Instance Method Details
#apply_to(robot) ⇒ Object
4 5 6 |
# File 'lib/rubots/command/fire.rb', line 4 def apply_to(robot) robot.do_fire end |
#cooldown ⇒ Object
8 9 10 |
# File 'lib/rubots/command/fire.rb', line 8 def cooldown 60 end |