Package | Description |
---|---|
me.lihq.game.models |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Room.Transition> |
Room.roomTransitions
Room transitions stored as custom Transition object.
|
Modifier and Type | Method and Description |
---|---|
Room.Transition |
Room.getTransitionData(int x,
int y)
This method will get the transition data (if available)
for the associated door mat in this room at the location x y.
|
private Room.Transition |
Room.hasTransition(Vector2Int v)
This method checks through all the transitions of this room and if one exists where the FROM property is equal to the parameter 'v' then
it returns that Transition, else, it returns null
|
Room.Transition |
Room.Transition.setFrom(int oldTiledCoordinateX,
int oldTiledCoordinateY)
This method takes the parameters and sets the values of the relevant properties
|
Room.Transition |
Room.Transition.setTo(Room room,
int newTileCoordinateX,
int newTileCoordinateY,
AbstractPerson.Direction newDirection)
This method takes the parameters and sets the values of the relevant properties
|
Modifier and Type | Method and Description |
---|---|
Room |
Room.addTransition(Room.Transition t)
This adds a transition to the map.
|