Enum Maze
- java.lang.Object
-
- java.lang.Enum<Maze>
-
- net.runelite.client.plugins.mta.telekinetic.Maze
-
- All Implemented Interfaces:
Serializable
,Comparable<Maze>
public enum Maze extends Enum<Maze>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Maze
fromWalls(int walls)
LocalPoint
getStart()
int
getWalls()
static Maze
valueOf(String name)
Returns the enum constant of this type with the specified name.static Maze[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAZE_1
public static final Maze MAZE_1
-
MAZE_2
public static final Maze MAZE_2
-
MAZE_3
public static final Maze MAZE_3
-
MAZE_4
public static final Maze MAZE_4
-
MAZE_5
public static final Maze MAZE_5
-
MAZE_6
public static final Maze MAZE_6
-
MAZE_7
public static final Maze MAZE_7
-
MAZE_8
public static final Maze MAZE_8
-
MAZE_9
public static final Maze MAZE_9
-
MAZE_10
public static final Maze MAZE_10
-
-
Method Detail
-
values
public static Maze[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Maze c : Maze.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Maze valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromWalls
public static Maze fromWalls(int walls)
-
getWalls
public int getWalls()
-
getStart
public LocalPoint getStart()
-
-