Пример #1
0
 private Snake(Organism old) : base(old.Strength, old.Location, old.Sign, old.DeathCounter)
 {
 }
Пример #2
0
 /** Simple method adding organism in given Location
  *  It removes previous Organism (or Null) from the OrganismBoard ArrayList and adds organism in it's place
  */
 public void AddToBoard(int location, Organism organism)
 {
     OrganismBoard[location] = null;
     OrganismBoard[location] = organism;
 }