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