SGPhysics
Class LinearForce

java.lang.Object
  extended by SGPhysics.LinearForce
All Implemented Interfaces:
Force

public class LinearForce
extends java.lang.Object
implements Force


Field Summary
 int active
           
 Tuple.Tuple3f dir
           
 
Constructor Summary
LinearForce(Tuple.Tuple3f dir)
          Creates a new instance of LinearForce
 
Method Summary
 void apply(DynamicBody body)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dir

public Tuple.Tuple3f dir

active

public int active
Constructor Detail

LinearForce

public LinearForce(Tuple.Tuple3f dir)
Creates a new instance of LinearForce

Method Detail

apply

public void apply(DynamicBody body)
Specified by:
apply in interface Force