class Missile
require 'glu' require 'glut'
Constants
- ADVANCED_HIT_BOX_DETECTION
- AOE
- COOLDOWN_DELAY
- DAMAGE
- INITIAL_DELAY
- MAX_CURSOR_FOLLOW
- MAX_SPEED
- SPEED_INCREASE_FACTOR
- STARTING_SPEED
Attributes
mouse_start_x[R]
mouse_start_y[R]
time_alive[R]
x[R]
y[R]
Public Instance Methods
drops()
click to toggle source
# File line-em-up/models/missile.rb, line 70 def drops [ SmallExplosion.new(@scale, @screen_width, @screen_height, @x, @y, nil, {ttl: 2, third_scale: true}), ] end
get_image()
click to toggle source
# end
end
# File line-em-up/models/missile.rb, line 66 def get_image Gosu::Image.new("#{MEDIA_DIRECTORY}/mini_missile.png") end