class PF::Particle
- PF::Particle
- PF::Entity
- Reference
- Object
Included Modules
Defined in:
particle.crInstance Method Summary
Instance methods inherited from module PF::EntityAge
age : Float64
age,
age=(age : Float64)
age=,
dead?
dead?,
lifespan : Float64
lifespan,
lifespan=(lifespan : Float64)
lifespan=,
update_age(dt : Float64)
update_age
Instance methods inherited from class PF::Entity
distance(other : Entity)
distance,
mass : Float64
mass,
mass=(mass : Float64)
mass=,
position : Vector2(Float64)
position,
position=(position : Vector2(Float64))
position=,
rotation : Float64
rotation,
rotation=(rotation : Float64)
rotation=,
rotation_speed : Float64
rotation_speed,
rotation_speed=(rotation_speed : Float64)
rotation_speed=,
sprite : Sprite | Nil
sprite,
sprite=(sprite : Sprite | Nil)
sprite=,
update(dt : Float64)
update,
velocity : Vector2(Float64)
velocity,
velocity=(velocity : Vector2(Float64))
velocity=
Constructor methods inherited from class PF::Entity
new(sprite_path : String)new(sprite : Nil | PF::Sprite = nil) new