Beispiel #1
0
 public void DeselectPons(Pon Pon)
 {
     foreach (Pon pon in Pons)
     {
         if (!Pon.Equals(pon))
         {
             pon.Deselect();
         }
     }
 }
Beispiel #2
0
        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);
            }
        }
Beispiel #3
0
 public void SetPon(Pon Pon)
 {
     this.Pon = Pon;
 }
Beispiel #4
0
 public Pon RemovePon()
 {
     var Pon = this.Pon;
     Pon.SetSquare(null);
     this.Pon = null;
     return Pon;
 }