Debian Codegraph @

plugins/dm.objectives/ce/specpanel/AITypeSpecifierPanel.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_TYPE (guards, civilians(?)) specifier
12 * type.
13 */
14 class AITypeSpecifierPanel :
15 public TextSpecifierPanel
16 {
17 // Map registration
18 static struct RegHelper {
19 RegHelper() {
20 SpecifierPanelFactory::registerType(
21 SpecifierType::SPEC_AI_TYPE().getName(),
22 SpecifierPanelPtr(new AITypeSpecifierPanel())
23 );
24 }
25 } _regHelper;
26 };
27
28 } // namespace ce
29
30 } // namespace objectives