ch.tatool.core.data
Class Level

java.lang.Object
  extended by ch.tatool.core.data.Level

public class Level
extends Object

Helper Class with getter and setter methods for properties concerning levels.

Author:
Michael Ruflin

Field Summary
static String PROPERTY_LEVEL
          Property name used to set the level value.
static String PROPERTY_LEVEL_CHANGE_DELTA
          Property name used to store the delta between the current and the future level.
 
Constructor Summary
Level()
           
 
Method Summary
static IntegerProperty getLevelChangeDeltaProperty()
          Gets the levelChangeDeltaProperty as an IntegerProperty.
static IntegerProperty getLevelProperty()
          Gets the levelProperty as an IntegerProperty.
static void setLevelChangeDeltaProperty(IntegerProperty levelChangeDeltaProperty)
          Sets the levelChangeDeltaProperty as an IntegerProperty.
static void setLevelProperty(IntegerProperty levelProperty)
          Sets the levelPropery as an IntegerProperty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_LEVEL

public static final String PROPERTY_LEVEL
Property name used to set the level value.

See Also:
Constant Field Values

PROPERTY_LEVEL_CHANGE_DELTA

public static final String PROPERTY_LEVEL_CHANGE_DELTA
Property name used to store the delta between the current and the future level.

See Also:
Constant Field Values
Constructor Detail

Level

public Level()
Method Detail

getLevelProperty

public static IntegerProperty getLevelProperty()
Gets the levelProperty as an IntegerProperty.

Returns:
levelProperty

setLevelProperty

public static void setLevelProperty(IntegerProperty levelProperty)
Sets the levelPropery as an IntegerProperty.

Parameters:
levelProperty - the IntegerProperty that will be set

getLevelChangeDeltaProperty

public static IntegerProperty getLevelChangeDeltaProperty()
Gets the levelChangeDeltaProperty as an IntegerProperty.

Returns:
levelChangeDeltaProperty

setLevelChangeDeltaProperty

public static void setLevelChangeDeltaProperty(IntegerProperty levelChangeDeltaProperty)
Sets the levelChangeDeltaProperty as an IntegerProperty.

Parameters:
levelChangeDeltaProperty - the IntegerProperty that will be set


Copyright © 2012. All Rights Reserved.