Esempio n. 1
0
 public Place(Position position, bool liveOrDeadCell)
 {
     PlacePosition = position;
     if (liveOrDeadCell)
     {
         PlacedCell = new LiveCell();
     }
     else
     {
         PlacedCell = new DeadCell();
     }
 }
Esempio n. 2
0
 public void InsertLiveCell()
 {
     PlacedCell = new LiveCell();
 }