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