| 40 | |
| 41 | namespace { |
| 42 | class ActionSelector |
| 43 | { |
| 44 | public: |
| 45 | bool operator()(const CEGUI::EventArgs& e) |
| 46 | { |
| 47 | playerSelection.setCurrentAction(action); |
| 48 | return true; |
| 49 | } |
| 50 | SelectedAction action; |
| 51 | PlayerSelection& playerSelection; |
| 52 | }; |
| 53 | //! \brief Functor for calling notifyGuiAction |
| 54 | // only used in game and editor currently. |
| 55 | class GuiNotifier |
nothing calls this directly
no outgoing calls
no test coverage detected