Exemplo n.º 1
0
 public override void Update(GameTime gameTime)
 {
     this.Position       += controller.GetVelocity();
     this.Weapon.Position = this.Bounds.Center.ToVector2();
     this.Weapon.Rotation = controller.GetRotation();
     this.Weapon?.Update(gameTime);
 }