MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / ActionSelector

Class ActionSelector

source/modes/GameEditorModeBase.cpp:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41namespace {
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected