Emini Physics Engine 1.3.5a API Documentation

at.emini.physics2D
Class Script.ScriptElement

java.lang.Object
  extended by at.emini.physics2D.Script.ScriptElement
Enclosing class:
Script

public class Script.ScriptElement
extends java.lang.Object

Single action element for a script. Each element has a type and target values, depending on the type.

Author:
Alexander Adensamer

Field Summary
 float mTargetAFX
          first target value
 float mTargetBFX
          second target value
 int mTimeSteps
          number of timesteps to execute this step
 int mType
          The type of the body modification (e.g: position, position, ...)
 
Constructor Summary
protected Script.ScriptElement(int type, float target1FX, float target2FX, int timeSteps)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mType

public int mType
The type of the body modification (e.g: position, position, ...)


mTargetAFX

public float mTargetAFX
first target value


mTargetBFX

public float mTargetBFX
second target value


mTimeSteps

public int mTimeSteps
number of timesteps to execute this step

Constructor Detail

Script.ScriptElement

protected Script.ScriptElement(int type,
                               float target1FX,
                               float target2FX,
                               int timeSteps)
Constructor. The type and values are supplied directly.

Parameters:
type - the type.
target1FX - the first target value.
target2FX - the second target value.
timeSteps - number of timesteps.

Emini Physics Engine 1.3.5a API Documentation

Emini Physics Engine 1.3.5a API Documentation - Copyright 2014 Alexander Adensamer