public GearsetComponent(Game game) : base(game) { this.UpdateOrder = int.MaxValue - 1; Console = new GearConsole(this.Game); }
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); }