GameLogic
 All Data Structures Files Functions Variables Friends
Public Member Functions
gameController::SnitchPush Class Reference
Inheritance diagram for gameController::SnitchPush:
gameController::Interference

Public Member Functions

 SnitchPush (std::shared_ptr< gameModel::Environment > env, std::shared_ptr< gameModel::Team > team)
 
auto execute () const -> gameController::ActionCheckResult override
 
- Public Member Functions inherited from gameController::Interference
 Interference (std::shared_ptr< gameModel::Environment > env, std::shared_ptr< gameModel::Team > team, gameModel::InterferenceType type)
 
virtual bool isPossible () const
 
auto getType () const -> gameModel::InterferenceType
 

Additional Inherited Members

- Protected Attributes inherited from gameController::Interference
std::shared_ptr
< gameModel::Environment
env
 
std::shared_ptr< gameModel::Teamteam
 
gameModel::InterferenceType type
 

Member Function Documentation

auto gameController::SnitchPush::execute ( ) const -> gameController::ActionCheckResult
overridevirtual

Snitch is moved to random free adjacent position

Returns
see Interference::execute

Implements gameController::Interference.


The documentation for this class was generated from the following files: