예제 #1
0
 public void Restart()
 {
     ClearScreen();
     tempObjects = new List <IGameObject>();
     snakeF      = new SnakeF(graphics, this);
     AddObject(snakeF);
     Start();
 }
예제 #2
0
 public GameEngine(ConsoleGraphics graphics)
 {
     this.graphics = graphics;
     snakeF        = new SnakeF(graphics, this);
     AddObject(snakeF);
 }