public SnakeGame() { mASCIITable = new ASCIIWallTable(); DoubleBuffered = true; mTimer = new Timer(); mTimer.Interval = 1000 / UpdatesPerSecond; mTimer.Enabled = true; mTimer.Tick += new EventHandler(mTimer_Tick); mSnakes = new List <Snake>(); }
public void LoadASCIITable(string filename) { mASCIITable = new ASCIIWallTable(filename); }