2
* Component for robot selection
4
* @author Adrian Friebel
7
#ifndef SIMULATIONROBOTSELECTIONCOMPONENT_H_
8
#define SIMULATIONROBOTSELECTIONCOMPONENT_H_
11
#include <dtGame/gmcomponent.h>
12
#include <dtDAL/gameeventmanager.h>
15
#include <srCore/export.h>
18
* Makes it possible to select a robot in the GUI.
20
class ROBOT_EXPORT SimulationRobotSelectionComponent : public dtGame::GMComponent
23
SimulationRobotSelectionComponent(const std::string &name, int robFoc);
24
void ProcessMessage(const dtGame::Message &message);
27
int getRobFocIndex() {return robotFocusIndex; };
31
virtual ~SimulationRobotSelectionComponent() { }
34
void sendMessageToAll(dtDAL::GameEvent &event);
36
dtCore::RefPtr<dtDAL::GameEvent> mFocusChanged;
43
#endif /*SIMULATIONROBOTSELECTIONCOMPONENT_H_*/