public Bomb PutABomb() { Bomb b = null; if(AvailableBombCount >= 1){ b = new Bomb(X,Y,BombPower,this); AvailableBombCount--; } return b; }
public Player BombExploded(Bomb b) { if(b.Owner == this) { AvailableBombCount++; } return this; }