Skip to content

Position

Ashish Mahindrakar edited this page Feb 14, 2018 · 4 revisions

Position model

Properties

  • X co-ord
  • Y co-ord
  • Location ID

Method

  • getCoord return x and y coord

  • getLocationId return LocationId

  • addPiece adds pieces

  • removePiece removes piece

  • isLake return whether the positions is of lake area

  • isOccupiedBy return whether the position is occupied by given team

Clone this wiki locally