Sha256: 003fa61e221100d1ee300d90c55896628e41272e3d669ce5faff149e911e6842

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 Bytes

Contents

require_relative 'dumb_projectile.rb'

class EnemyBullet < DumbProjectile
  DAMAGE = 5
  COOLDOWN_DELAY = 30
  # Enemy y speeds are negative
  MAX_SPEED      = -5

  def get_image
    Gosu::Image.new("#{MEDIA_DIRECTORY}/bullet-mini-reverse.png")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
line-em-up-0.3.6 line-em-up/models/enemy_bullet.rb