예제 #1
0
        protected override void OnUpdateFrame(FrameEventArgs e)
        {
            base.OnUpdateFrame(e);
            if (!redTank1.IsAnimating)
            {
                gm.PlayRound(round++);
            }

            redTank1.Update();
            blueTank1.Update();
            redTank2.Update();

            blueTank2.Update();
        }