rlgamekit.map.generators
Interface MapUtils.OpenSquare
- Enclosing class:
- MapUtils
public static interface MapUtils.OpenSquare
Must be subclassed in a game specific manner to tell which sqaures
are considered open.
|
Method Summary |
boolean |
isOpen(LayeredMap map,
int posX,
int posY)
Should return true for all squares that are to be considered
open by the calling code. |
isOpen
boolean isOpen(LayeredMap map,
int posX,
int posY)
- Should return true for all squares that are to be considered
open by the calling code.
- Parameters:
map - The map to check.posX - Position x coordinateposY - Position y coordinate
- Returns:
- True if the cell is considered open, false otherwise.