public void DeselectPons(Pon Pon) { foreach (Pon pon in Pons) { if (!Pon.Equals(pon)) { pon.Deselect(); } } }
protected void CreatePons() { this.Pons = new List<Pon>(MAX_PONS); for (int i = 0; i < Player.MAX_PONS; i++) { var Pon = new Pon(this); Pon.SetColor(Color); this.Pons.Add(Pon); } }
public void SetPon(Pon Pon) { this.Pon = Pon; }
public Pon RemovePon() { var Pon = this.Pon; Pon.SetSquare(null); this.Pon = null; return Pon; }