예제 #1
0
        public override void Update(GameTime gameTime)
        {
            UpdateTrajectory();
            base.Update(gameTime);
            //Camera.Get.Position = Position;// +new Vector2(400, -400);

            if (cannonRect == null)
            {
                cannonRect = GetRectangle();
            }
            Vector2 topleft = TopLeftPosition();

            if (!smoke.CheckFlag(Jabber.Flags.PASSRENDER))
            {
                smoke.Update(gameTime);
            }
        }