public MouseController(World world, InputType type, PlayerIndex playerIndex)
        {
            this.world = world;
              inputManager = new InputManager(type, playerIndex);
              keyMap = new Dictionary<WorldAction, Inputs>();

              keyMap.Add(WorldAction.AddBall, Inputs.A);
              keyMap.Add(WorldAction.AddTile, Inputs.B);
        }
        public PlayerController(PlayerModel player, InputType type, PlayerIndex playerIndex)
        {
            this.player = player;
              inputManager = new InputManager(type, playerIndex);
              keyMap = new Dictionary<PlayerAction, Inputs>();

              // Map actions to keys
              keyMap.Add(PlayerAction.MoveUp, Inputs.Up);
              keyMap.Add(PlayerAction.MoveDown, Inputs.Down);
              keyMap.Add(PlayerAction.MoveLeft, Inputs.Left);
              keyMap.Add(PlayerAction.MoveRight, Inputs.Right);
        }