public InputManager(Game1 game, Player player, Level level, Target target, PlayerManager playerManager, Screen[] screens, MindRead mindRead) { this.game = game; this.player = player; this.level = level; this.target = target; this.playerManager = playerManager; this.mindRead = mindRead; this.collisionManager = new CollisionManager(player, level); this.velocity = player.getVelocity(); this.width = game.getWidth(); this.height = game.getHeight() - 40; this.font = game.getDropFont(); this.gameState = GameState.Normal; this.prevLevel = level; }
/// <summary> /// Sets the game screens /// </summary> /// <param name="screens">The screens to set</param> public void setScreens(Screen[] screens) { this.screens = screens; }