Example #1
0
 public AirPlane(Texture2D texture, GraphicsDeviceManager graphics)
     : base(texture)
 {
     viewport = new Viewport(graphics.GraphicsDevice.Viewport.Bounds);
     SpriteObject.Position = new Vector2(
         viewport.Width / 2, viewport.Height - SpriteObject.GetBoundingRectangle().Height / 2);
 }