Robot Devastation
Public Member Functions | Protected Attributes | List of all members
rd::ManagerHub Class Reference

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>

Inheritance diagram for rd::ManagerHub:
rd::DeadState rd::GameState rd::InitState

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

NetworkManagernetworkManager
 
ImageManagerimageManager
 
InputManagerinputManager
 
MentalMapmentalMap
 
asrob::IRobotManager * robotManager
 
AudioManageraudioManager
 
ScreenManagerscreenManager
 

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