SGPhysics
Class Fan

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

public class Fan
extends java.lang.Object
implements Force


Field Summary
 int active
           
 Tuple.Tuple3f end
           
 Tuple.Tuple3f loc
           
 float power
           
 
Constructor Summary
Fan(Tuple.Tuple3f loc, Tuple.Tuple3f dir, float len, float rad, float power)
          Creates a new instance of AAPlane
 
Method Summary
 void apply(DynamicBody db)
           
 Tuple.Tuple3f getDir()
           
 void setDir(Tuple.Tuple3f dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loc

public Tuple.Tuple3f loc

end

public Tuple.Tuple3f end

power

public float power

active

public int active
Constructor Detail

Fan

public Fan(Tuple.Tuple3f loc,
           Tuple.Tuple3f dir,
           float len,
           float rad,
           float power)
Creates a new instance of AAPlane

Method Detail

setDir

public void setDir(Tuple.Tuple3f dir)

getDir

public Tuple.Tuple3f getDir()

apply

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