public class Attribute extends Object
Example:
final Attribute vitality = new Attribute(); vitality.set(1); vitality.increase(2); System.out.println(vitality.get()); // print 3
Attribute()
int
get()
void
increase(int step)
set(int value)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Attribute()
public void increase(int step)
step
public void set(int value)
value
public int get()
Copyright © 2014 Byron 3D Games Studio. All rights reserved.