/// <summary> /// Draw everything associated with the game class /// </summary> /// <param name="e"></param> public void Draw(PaintEventArgs e) { // Draw the map mMap.Draw(e); // Draw all characters for (int i = 0; i < mCharacters.Count; i++) { mCharacters[i].Draw(e); } // Draw the score text e.Graphics.DrawString( "Score: " + (mMap.GetMaxFood() - mMap.GetFoodLeft()).ToString() + "/" + mMap.GetMaxFood().ToString(), new Font("Arial", 16), new SolidBrush(Color.White), new Point(10, 10)); }