示例#1
0
    public void Update(float dt)
    {
        ball.x += dt * ball.xVelocity;
        ball.y += dt * ball.yVelocity;

        player1.Update(dt);
        player2.Update(dt);

        //player1.x = Input.mousePosition.x;
        //player1.y = Input.mousePosition.y;

        //mouse.Update(dt);
    }