mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-05-25 08:41:26 +00:00
33 lines
789 B
C++
33 lines
789 B
C++
#ifndef CSPACEPIRATEEXTRA_H
|
|
#define CSPACEPIRATEEXTRA_H
|
|
|
|
#include "CScriptExtra.h"
|
|
#include "Core/Resource/Script/Property/IProperty.h"
|
|
|
|
enum class EVulnerabilityTypeMP1
|
|
{
|
|
DoubleDamage,
|
|
Normal,
|
|
Reflect,
|
|
Immune,
|
|
PassThru,
|
|
DirectDouble,
|
|
DirectNormal,
|
|
DirectImmune
|
|
};
|
|
|
|
class CSpacePirateExtra : public CScriptExtra
|
|
{
|
|
// Render beam troopers with the correct color
|
|
TEnumRef<EVulnerabilityTypeMP1> mPowerVulnerability;
|
|
TEnumRef<EVulnerabilityTypeMP1> mWaveVulnerability;
|
|
TEnumRef<EVulnerabilityTypeMP1> mIceVulnerability;
|
|
TEnumRef<EVulnerabilityTypeMP1> mPlasmaVulnerability;
|
|
|
|
public:
|
|
explicit CSpacePirateExtra(CScriptObject *pInstance, CScene *pScene, CScriptNode *pParent = 0);
|
|
CColor TevColor();
|
|
};
|
|
|
|
#endif // CSPACEPIRATEEXTRA_H
|