C# Class ParticleEditor.ForceAffector

Inheritance: IAffector
显示文件 Open project: fallahn/xygine Class Usage Examples

Public Methods

Method Description
ForceAffector ( Vector2f force ) : System
type ( ) : AffectorType
update ( Particle p, float dt ) : void

Method Details

ForceAffector() public method

public ForceAffector ( Vector2f force ) : System
force Vector2f
return System

type() public method

public type ( ) : AffectorType
return AffectorType

update() public method

public update ( Particle p, float dt ) : void
p Particle
dt float
return void