Skip to content
Ankur rai edited this page Feb 14, 2018 · 3 revisions

Miner

Properties

Same as default playing piece


Methods

  • getRank gives back the rank of Miner as 3

  • attackedBy gives back self as died piece in case of higher rank attacker Or gives back both piece in case of miner as opponent piece Or gives back opponent in case of bomb, scout and flag.

  • getPotentialMoves gives all the potential moves of miner

  • isMovable returns true

Clone this wiki locally