Sha256: edd64fe93bdde2eabed982ba8321b216630f14fbd808179da7954b21ebcf68dc

Contents?: true

Size: 503 Bytes

Versions: 5

Compression:

Stored size: 503 Bytes

Contents

require_relative 'launcher.rb'
class BulletLauncher < Launcher
  def init_projectile options
    Bullet.new(@scale, @screen_width, @screen_height, self, options)
  end


  def self.get_hardpoint_image
    Gosu::Image.new("#{MEDIA_DIRECTORY}/bullet_launcher_hardpoint.png")
  end
  def draw
    if @inited
      if @active
        # @image.draw(@x - @image_width_half, @y - @image_height_half, get_draw_ordering, @scale, @scale)
      end

      return true
    else
      return false
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
line-em-up-2.0.4 line-em-up/models/bullet_launcher.rb
line-em-up-2.0.3 line-em-up/models/bullet_launcher.rb
line-em-up-2.0.2 line-em-up/models/bullet_launcher.rb
line-em-up-2.0.1 line-em-up/models/bullet_launcher.rb
line-em-up-2.0.0 line-em-up/models/bullet_launcher.rb