Sha256: cc8c8e6775cdbaf5043024dc0dad95509766b33cd554505876c378253dc74339

Contents?: true

Size: 223 Bytes

Versions: 15

Compression:

Stored size: 223 Bytes

Contents

module Shot
  
  #
  #
  attr_accessor :velocity, :originator
  
  #
  #
  def shoot_from shooter
    self.position = shooter.muzzle_position
    self.originator = shooter
    self.window.register self
    self
  end
  
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gosu_extensions-0.1.14 lib/traits/shot.rb
gosu_extensions-0.1.13 lib/traits/shot.rb
gosu_extensions-0.1.12 lib/traits/shot.rb
gosu_extensions-0.1.11 lib/traits/shot.rb
gosu_extensions-0.1.10 lib/traits/shot.rb
gosu_extensions-0.1.9 lib/traits/shot.rb
gosu_extensions-0.1.8 lib/traits/shot.rb
gosu_extensions-0.1.7 lib/traits/shot.rb
gosu_extensions-0.1.6 lib/traits/shot.rb
gosu_extensions-0.1.5 lib/traits/shot.rb
gosu_extensions-0.1.4 lib/traits/shot.rb
gosu_extensions-0.1.3 lib/traits/shot.rb
gosu_extensions-0.1.2 lib/traits/shot.rb
gosu_extensions-0.1.1 lib/traits/shot.rb
gosu_extensions-0.1.0 lib/traits/shot.rb