C# Class Project290.Physics.Controllers.SimpleWindForce

Reference implementation for forces based on AbstractForceController It supports all features provided by the base class and illustrates proper usage as an easy to understand example. As a side-effect it is a nice and easy to use wind force for your projects
Inheritance: AbstractForceController
Show file Open project: scastle/Solitude

Public Methods

Method Description
ApplyForce ( float dt, float strength ) : void
SimpleWindForce ( ) : Microsoft.Xna.Framework

Method Details

ApplyForce() public method

public ApplyForce ( float dt, float strength ) : void
dt float
strength float
return void

SimpleWindForce() public method

public SimpleWindForce ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework