Debian Codegraph @

plugins/dm.objectives/ce/specpanel/AITeamSpecifierPanel.h

raw
1 #pragma once
2
3 #include "SpecifierPanel.h"
4 #include "TextSpecifierPanel.h"
5
6 namespace objectives {
7
8 namespace ce {
9
10 /**
11 * SpecifierPanel subclass for the SPEC_AI_TEAM (number) specifier
12 * type.
13 */
14 class AITeamSpecifierPanel :
15 public TextSpecifierPanel
16 {
17 // Map registration
18 static struct RegHelper {
19 RegHelper() {
20 SpecifierPanelFactory::registerType(
21 SpecifierType::SPEC_AI_TEAM().getName(),
22 SpecifierPanelPtr(new AITeamSpecifierPanel())
23 );
24 }
25 } _regHelper;
26 };
27
28 } // namespace ce
29
30 } // namespace objectives