Robot Devastation
|
A classs to interface all the robotDevastation managers. As some classes, such as the game states, require require interfacing with all the managers to access their functionallity, this class was created. It simplifies the code, as by simple inheritance any class can have simple access to all the required managers.
#include <ManagerHub.hpp>
Public Member Functions | |
ManagerHub (NetworkManager *networkManager, ImageManager *imageManager, InputManager *inputManager, MentalMap *mentalMap, asrob::IRobotManager *robotManager, AudioManager *audioManager, ScreenManager *screenManager) | |
bool | setNetworkManager (NetworkManager *networkManager) |
bool | setImageManager (ImageManager *imageManager) |
bool | setInputManager (InputManager *inputManager) |
bool | setMentalMap (MentalMap *mentalMap) |
bool | setRobotManager (asrob::IRobotManager *robotManager) |
bool | setAudioManager (AudioManager *audioManager) |
bool | setScreenManager (ScreenManager *screenManager) |
Protected Attributes | |
NetworkManager * | networkManager |
ImageManager * | imageManager |
InputManager * | inputManager |
MentalMap * | mentalMap |
asrob::IRobotManager * | robotManager |
AudioManager * | audioManager |
ScreenManager * | screenManager |