|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.b3dgs.lionengine.game.Attribute
public class Attribute
Describe an attribute (vitality, agility...). For fast and light development, it is recommended to make public final instanciation, as it already purposes set & get functions.
Constructor Summary | |
---|---|
Attribute()
Create a new blank attribute. |
Method Summary | |
---|---|
int |
get()
Get value. |
void |
set(int value)
Set value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Attribute()
Method Detail |
---|
public void set(int value)
value
- value.public int get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |