CannonGame.CannonGame.CannonGame C# (CSharp) Метод

CannonGame() публичный Метод

public CannonGame ( ) : System
Результат System
        public CannonGame()
        {
            Graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            Graphics.PreferredBackBufferWidth = 480;
            Graphics.PreferredBackBufferHeight = 800;

            //Gjør musepekeren synlig
            IsMouseVisible = true;

            //Dette gjør at telefonen fungerer i begge landskapsmodusene.
            Graphics.SupportedOrientations = DisplayOrientation.Portrait;

            Instance = this;
        }