5 #ifndef __RD_INIT_STATE_HPP__
6 #define __RD_INIT_STATE_HPP__
9 #include "ManagerHub.hpp"
10 #include "InputEventListener.hpp"
11 #include "NetworkManager.hpp"
12 #include "ImageManager.hpp"
13 #include "InputManager.hpp"
14 #include "MentalMap.hpp"
15 #include "IRobotManager.hpp"
16 #include "AudioManager.hpp"
17 #include "ScreenManager.hpp"
19 #include "WindowEvent.hpp"
20 #include "InitScreen.hpp"
42 asrob::IRobotManager * robotManager,
AudioManager * audioManager,
50 static const int LOGIN_SUCCESSFUL;
51 static const int EXIT_REQUESTED;
69 #endif // __RD_INIT_STATE_HPP__
Mental map is a repository for information about the players, targets and weapons.
Definition: MentalMap.hpp:38
Music and sound effects manager.
Definition: AudioManager.hpp:28
The main, catch-all namespace for Robot Devastation.
Definition: groups.dox:4
virtual bool cleanup()
Function excuted when this state is going to be stopped (due to an error or a transition)
Definition: InitState.cpp:79
virtual bool onWindowEvent(const WindowEvent &event)
This function will be called whenever a window event is raised.
Definition: InitState.cpp:131
virtual bool onKeyUp(const Key &k)
This function will be called whenever a key is released on the keyboard.
Definition: InitState.cpp:113
virtual bool loop()
Function executed periodically when the state is active.
Definition: InitState.cpp:56
A User Interface.
Definition: InitScreen.hpp:22
virtual bool setup()
Function executed just before the loop function, when the state is enabled.
Definition: InitState.cpp:32
Class that represents a keyboard key.
Definition: Key.hpp:23
Base class for each of the states of a FiniteStateMachine.
Definition: State.hpp:18
virtual bool onKeyDown(const Key &k)
This function will be called whenever a key is pressed on the keyboard.
Definition: InitState.cpp:108
virtual int evaluateConditions()
This function is called after each call to loop() in order to know the transition to make.
Definition: InitState.cpp:97
A classs to interface all the robotDevastation managers. As some classes, such as the game states,...
Definition: ManagerHub.hpp:28
Manage game screens.
Definition: ScreenManager.hpp:35
Class that represents a window event.
Definition: WindowEvent.hpp:19
Game Initial State.
Definition: InitState.hpp:36
Manages the communications between the user and the RobotDevastation network.
Definition: NetworkManager.hpp:37
Generic image input manager.
Definition: ImageManager.hpp:39