| Package | Description |
|---|---|
| pl.joegreen.sergeants.framework.model |
| Modifier and Type | Field and Description |
|---|---|
protected Position |
GameState.Field.position |
| Modifier and Type | Method and Description |
|---|---|
Position |
GameState.Field.getPosition() |
Position |
GameState.positionFromIndex(int index) |
Position |
Position.withCol(int col) |
Position |
Position.withRow(int row) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<Position,GameState.Field> |
GameState.getFieldsMap() |
com.google.common.collect.ImmutableMap<Position,GameState.VisibleField> |
GameState.getVisibleFieldsMap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GameState.isValidPosition(Position position)
Checks if given position lays inside the map.
|
int |
GameState.positionToIndex(Position position) |
Copyright © 2017. All rights reserved.