class PF::Emitter
- PF::Emitter
- PF::Entity
- Reference
- Object
Defined in:
emitter.crInstance Method Summary
- #draw(engine)
- #emit_angle : Float64
- #emit_angle=(emit_angle : Float64)
- #emit_freq : Float64
- #emit_freq=(emit_freq : Float64)
- #emitting : Bool
- #emitting=(emitting : Bool)
- #generate_particle
- #last_emitted : Float64
- #max_age : Float64
- #max_age=(max_age : Float64)
- #particles : Array(PF::Particle)
- #particles=(particles : Array(PF::Particle))
- #size : Float64
- #size=(size : Float64)
- #strength : Float64
- #strength=(strength : Float64)
- #update(dt : Float64)
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