All Packages Class Hierarchy This Package Previous Next Index
Class eduni.simanim.Anim_param
java.lang.Object
|
+----eduni.simanim.Anim_param
- public class Anim_param
- extends Object
An animation parameter, parameters are used to display
data relating to its parent entity during an animation.
-
enum_type
-
-
HIDDEN
- Display type: Don't display.
-
NAME
- Display type: Show parameter's name only.
-
NAME_VALUE
- Display type: Show both the parameter's name and its value.
-
STATE
- Display type: Show as the entity's bitmap.
-
VALUE
- Display type: Show value only.
-
Anim_param(String, int, String)
- Constructor, with co-ordinates defaulting to (0, 0).
-
Anim_param(String, int, String, int, int)
- Constructor, with (x, y) co-ordinate.
HIDDEN
public final static int HIDDEN
- Display type: Don't display.
STATE
public final static int STATE
- Display type: Show as the entity's bitmap.
VALUE
public final static int VALUE
- Display type: Show value only.
NAME
public final static int NAME
- Display type: Show parameter's name only.
NAME_VALUE
public final static int NAME_VALUE
- Display type: Show both the parameter's name and its value.
enum_type
public final static String enum_type[]
Anim_param
public Anim_param(String name,
int type,
String value,
int x,
int y)
- Constructor, with (x, y) co-ordinate.
- Parameters:
- name - The parameter's name
- type - One of the display types above
- value - The initial value of the parameter
- x - The X co-ordinate of the parameter relative to the left of
its parent entity.
- y - The Y co-ordinate of the parameter relative to the top of
its parent entity.
Anim_param
public Anim_param(String name,
int type,
String value)
- Constructor, with co-ordinates defaulting to (0, 0).
- Parameters:
- name - The parameter's name
- type - One of the display types above
- value - The initial value of the parameter
All Packages Class Hierarchy This Package Previous Next Index