示例#1
0
        private static void Demo_Update(float dt)
        {
            if (keys.IsDown("quit"))
            {
                canceller.Cancel();
            }

            demo.SetVelocity(keys.GetAxis("horizontal"), keys.GetAxis("forward"));
        }
示例#2
0
 private void Demo_Update(float dt)
 {
     demo.SetVelocity(keys.GetAxis("horizontal"), keys.GetAxis("forward"));
 }