public InventoryView(InventoryController inventoryController, GXPInputManager inputManager, Color color) : base(640, 340) { this.inventoryController = inventoryController; this.inputManager = inputManager; this.InventoryColor = color; TextureCache = new TextureCache(); x = (game.width - width) / 2; y = (game.height - height) / 4; DrawBackground(); DrawItems(); DrawInfo(); }
private void CreateControllers() { shopController = new InventoryController(shopModel, customerModel); customerController = new InventoryController(customerModel, shopModel); inputManager = new GXPInputManager(); }