apps.threedbuttonsexperiment.calculator
Class TwoDCalculator

java.lang.Object
  extended by apps.threedbuttonsexperiment.calculator.TwoDCalculator

public class TwoDCalculator
extends java.lang.Object

The Class TwoDCalculator.


Constructor Summary
TwoDCalculator(ContentSystem contentSystem, TextLabel targetNumberLabel, DateTextWritter logWritter)
          Instantiates a new two d calculator.
 
Method Summary
 void addTaskListener(TaskListener l)
          Adds the task listener.
 com.jme.math.Vector2f getLocation()
          Gets the location.
 void resetTask()
          Reset task.
 void setLocation(com.jme.math.Vector2f location)
          Sets the location.
 void startNewTrail()
          Start new trail.
 void update()
          Update.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoDCalculator

public TwoDCalculator(ContentSystem contentSystem,
                      TextLabel targetNumberLabel,
                      DateTextWritter logWritter)
Instantiates a new two d calculator.

Parameters:
contentSystem - the content system
targetNumberLabel - the target number label
logWritter - the log writter
Method Detail

addTaskListener

public void addTaskListener(TaskListener l)
Adds the task listener.

Parameters:
l - the l

getLocation

public com.jme.math.Vector2f getLocation()
Gets the location.

Returns:
the location

resetTask

public void resetTask()
Reset task.


setLocation

public void setLocation(com.jme.math.Vector2f location)
Sets the location.

Parameters:
location - the new location

startNewTrail

public void startNewTrail()
Start new trail.


update

public void update()
Update.