Class eduni.simanim.Anim_param
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.

Variable Index

 o enum_type
 o HIDDEN
Display type: Don't display.
 o NAME
Display type: Show parameter's name only.
 o NAME_VALUE
Display type: Show both the parameter's name and its value.
 o STATE
Display type: Show as the entity's bitmap.
 o VALUE
Display type: Show value only.

Constructor Index

 o Anim_param(String, int, String)
Constructor, with co-ordinates defaulting to (0, 0).
 o Anim_param(String, int, String, int, int)
Constructor, with (x, y) co-ordinate.

Variables

 o HIDDEN
  public final static int HIDDEN
Display type: Don't display.
 o STATE
  public final static int STATE
Display type: Show as the entity's bitmap.
 o VALUE
  public final static int VALUE
Display type: Show value only.
 o NAME
  public final static int NAME
Display type: Show parameter's name only.
 o NAME_VALUE
  public final static int NAME_VALUE
Display type: Show both the parameter's name and its value.
 o enum_type
  public final static String enum_type[]

Constructors

 o 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.
 o 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