Cascade.Game1.Game1 C# (CSharp) Метод

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

public Game1 ( ) : System
Результат System
        public Game1()
        {
            threadTimer = new System.Timers.Timer(1000d / 240d);
            threadTimer.Elapsed += new System.Timers.ElapsedEventHandler(threadTimer_Elapsed);
            Global.Game = this;
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            tcp = new TcpObject();
            this.TargetElapsedTime = TimeSpan.FromSeconds(1d / 60d);
            GC.KeepAlive(this.Window);
            startUpWorker = new BackgroundWorker();
            startUpWorker.DoWork += new DoWorkEventHandler(startUpWorker_DoWork);
        }