protected override void Initialize() { naveMae = new naveprincipal(Content.Load<Texture2D>("Sprites\\Mother_3"), viewportRect); naveTextureDB = new Color[naveMae.texturaNave.Width * naveMae.texturaNave.Height]; naveMae.texturaNave.GetData(naveTextureDB); viewportRect = new Rectangle(0, 0, graphics.GraphicsDevice.Viewport.Width, graphics.GraphicsDevice.Viewport.Height); tamanhoTela = new Vector2(graphics.GraphicsDevice.Viewport.Width, graphics.GraphicsDevice.Viewport.Height); base.Initialize(); }
protected override void Initialize() { base.Initialize(); naveMae = new naveprincipal(Content.Load<Texture2D>("Sprites\\Mother"), viewportRect); tamanhoTela = new Vector2(graphics.GraphicsDevice.Viewport.Width, graphics.GraphicsDevice.Viewport.Height); }