Class: Rubots::Command::Fire

Inherits:
Base
  • Object
show all
Defined in:
lib/rubots/command/fire.rb

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

#cooldownObject



8
9
10
# File 'lib/rubots/command/fire.rb', line 8

def cooldown
  60
end