public KeyPressEventAction() { _keyin = new ActualKeyboardInput(); action = UserAction.showBannerMain; ConstructBanners(); banner = Banner.mainMenu; }
public Engine(IRenderer renderer, IUserKeyboardInput userInput, IAim aim, GameInitializator gameInitializator) { this.Renderer = renderer; this.UserInput = userInput; this.Aim = aim; this.GameInitializator = gameInitializator; random = new Random(); this.gameObjects = new HashSet <GameObject>(); this.farm = new Farm(); this.farmManager = new FarmManager(); this.market = new Market(); this.presentFactory = new PresentFactory(); }
public Engine(IRenderer renderer, IUserKeyboardInput userInput, IAim aim, GameInitializator gameInitializator) { this.Renderer = renderer; this.UserInput = userInput; this.Aim = aim; this.GameInitializator = gameInitializator; random = new Random(); this.gameObjects = new HashSet<GameObject>(); this.farm = new Farm(); this.farmManager = new FarmManager(); this.market = new Market(); this.presentFactory = new PresentFactory(); }
public KeyPressEventAction(IUserKeyboardInput keyin) { _keyin = keyin; action = UserAction.noAction; ConstructBanners(); }
public StockManager(IUserKeyboardInput keyboard) { _keyboard = keyboard; }
public StockManager() { _keyboard = new ActualKeyboardInput(); }