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
Afficher le fichier Open project: scastle/Solitude

Méthodes publiques

Méthode Description
ApplyForce ( float dt, float strength ) : void
SimpleWindForce ( ) : Microsoft.Xna.Framework

Method Details

ApplyForce() public méthode

public ApplyForce ( float dt, float strength ) : void
dt float
strength float
Résultat void

SimpleWindForce() public méthode

public SimpleWindForce ( ) : Microsoft.Xna.Framework
Résultat Microsoft.Xna.Framework