//Drawing private void OnPaint(object sender, PaintEventArgs e) { g = e.Graphics; maze.DrawMaze(maze, player, g, Settings.Size); player.printLives(g); player.printKeys(g, maze.Keys); }