Package org.rspeer.game
Class Vars
java.lang.Object
org.rspeer.game.Vars
Provides access to game
vars
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Anenum
representing the different types ofvars
that the game has -
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
VARP_COUNT
public static final int VARP_COUNT- See Also:
-
BIT_MASKS
public static final int[] BIT_MASKS
-
-
Constructor Details
-
Vars
public Vars()
-
-
Method Details
-
getAll
public static int[] getAll()- Returns:
- All loaded
varps
-
get
public static int get(int index) - Parameters:
index
- The index of thevarp
- Returns:
- A
varp
at the given index
-
get
-
get
- Parameters:
composite
- TheVarComposite
type- Returns:
- A
var
matching the specifiedVarComposite
-