private void GameCanvas_Paint(object sender, PaintEventArgs e) { Graphics canvas = e.Graphics; Player1.Draw(canvas); FoodMngr.Draw(canvas); }
private void GameCanvasPaint(object sender, PaintEventArgs e) { Graphics canvas = e.Graphics; player.Draw(canvas); foodManager.Draw(canvas); }
private void GameCanvas_Paint(object sender, PaintEventArgs e) { Graphics canvas = e.Graphics; if (gridVisible) { Grid_Paint(canvas, 100); } Player1.Draw(canvas); if (is2Player) { Player2.Draw(canvas); } FoodMngr.Draw(canvas); }