public static List <Figur> Initialisiere_Figuren(FARBE farbe)
        {
            List <Figur> result = new List <Figur>();

            for (int i = 0; i < 4; i++)
            {
                Figur figur = new Figur(farbe, i);
                result.Add(figur);
            }
            return(result);
        }
示例#2
0
 public void Set_figur(Figur figur)
 {
     if (this.figur != null)
     {
         this.figur.Set_Figure_to_Start();
     }
     else
     {
         this.figur = figur;
     }
 }