Class: BulldogPhysics::Particles::Projectile

Inherits:
Object
  • Object
show all
Defined in:
lib/Particles/projectile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeProjectile

Returns a new instance of Projectile.



7
8
9
10
# File 'lib/Particles/projectile.rb', line 7

def initialize()
  @particle = Particle.new
  @start_time = 0
end

Instance Attribute Details

#particleObject

Returns the value of attribute particle.



5
6
7
# File 'lib/Particles/projectile.rb', line 5

def particle
  @particle
end

#start_timeObject

Returns the value of attribute start_time.



5
6
7
# File 'lib/Particles/projectile.rb', line 5

def start_time
  @start_time
end