gameController::Action::Action |
( |
| ) |
|
|
default |
default constructor for the Action class.
main constructor for the Action class.
- Parameters
-
env | The environment to operate on |
actor | the actor |
target | the target position |
virtual gameController::Action::~Action |
( |
| ) |
|
|
virtualdefault |
default destructors for the Action class.
virtual auto gameController::Action::check |
( |
| ) |
const -> ActionCheckResult |
|
pure virtual |
virtual auto gameController::Action::execute |
( |
| ) |
const -> std::pair< std::vector< ActionResult >, std::vector< gameModel::Foul >> |
|
pure virtual |
virtual auto gameController::Action::executeAll |
( |
| ) |
const -> std::vector< std::pair< std::shared_ptr< gameModel::Environment >, double >> |
|
pure virtual |
Getter
- Returns
- target position of the Action
virtual auto gameController::Action::successProb |
( |
| ) |
const -> double |
|
pure virtual |
The documentation for this class was generated from the following files:
- /home/travis/build/SoPra-Team-10/GameLogic/src/Action.h
- /home/travis/build/SoPra-Team-10/GameLogic/src/Action.cpp