/// <summary> /// Draws game objects /// </summary> /// <param name="graphics">The canvas to draw to</param> public void Draw(Graphics graphics) { graphics.DrawLine(dashedLinePen, topCentre, bottomCentre); scoreRight.DrawScore(graphics); scoreLeft.DrawScore(graphics); rightPaddle.Draw(graphics); leftPaddle.Draw(graphics); ball.DrawSelf(graphics); if (winConditions == true) { DisplayVictory(graphics); } }