Esempio n. 1
0
 public Form1()
 {
     InitializeComponent();
     field = new Field();
     G = CreateGraphics();
     BackColor = System.Drawing.Color.LightGray;
 }
Esempio n. 2
0
 public void IAmOut(Field f)
 {
     f.FieldArray[x, y, 0] = Field.EMPTY_CELL;
     f.FieldArray[x, y, 1] = Field.EMPTY_CELL;
     health = 0;
     vectorx = x;
     vectory = y;
     team = TEAM_DEAD;
     foreach (Spartan s in EnemyTeam.FindAll(i => i.Enemy == this))
     {
         s.Enemy = null;
     }
     spartanUI.Dispose();
 }