public Game1() { this._graphics = new GraphicsDeviceManager(this); this.Content.RootDirectory = "Content"; this.Window.Title = "Move on map 3d"; this.IsMouseVisible = true; this._componentInputs = new ComponentInputs(this); this._componentInputs.UpdateOrder = 1; this.Components.Add(this._componentInputs); this._componentMap = new ComponentMap(this, this._componentInputs); this._componentMap.UpdateOrder = 2; this.Components.Add(this._componentMap); this._componentRender = new ComponentRender(this, this._componentMap); this._componentRender.UpdateOrder = 3; this.Components.Add(this._componentRender); }
public ComponentMap(Game game, ComponentInputs componentInputs) : base(game) { this._componentInputs = componentInputs; }