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