Beispiel #1
0
 public GearsetComponent(Game game)
     : base(game)
 {
     this.UpdateOrder = int.MaxValue - 1;
     Console = new GearConsole(this.Game);
 }
Beispiel #2
0
 public GearsetComponent(Game game)
     : base(game)
 {
     this.UpdateOrder = int.MaxValue - 1;
     Console          = new GearConsole(this.Game);
 }
Beispiel #3
0
        internal static void Initialize(Game game)
        {
            // Create the Gearset Component, this will be in charge of
            // Initializing Gearset and Updating/Drawing it every frame.
            GearsetComponent = new Gearset.GearsetComponent(game);
            game.Components.Add(GearsetComponent);

            // This component updates this class allowing it to process
            // calls from other threads which are queued.
            game.Components.Add(new GearsetWrapperUpdater(game));

            Console = GearsetComponent.Console;
            ownerThread = Thread.CurrentThread;
        }
 public GearsetComponent(Game game, bool createUI)
     : base(game)
 {
     UpdateOrder = int.MaxValue - 1;
     Console     = new GearConsole(Game, createUI);
 }