virtual public void Update() { if (started && waitingForInterface == false) { _action = _agent.ChooseAction(_exploration, _agent.GetEstimate(_state0)); int row = _action / 9; //Random.Range(0, 8); int column = _action % 9; //Random.Range(0, 8); waitingForInterface = true; // musi byt este pred send if (_action == _agent.GetParam(BaseAgent.BOOST_INDEX)) { OnPowerupSelect(); } else { new GridClickRequest(_inputInterface).Send(_level, _seed, _gameState.levelScore, _gameState.powerupScore, _gameState.goals, _gameState.grid, _gameState.randomHistory, row, column, boost, OnGridClickCompleted); } } }