mirror of
https://github.com/encounter/Petari.git
synced 2026-03-30 11:34:15 -07:00
30 lines
702 B
C++
30 lines
702 B
C++
#pragma once
|
|
|
|
#include "Game/MapObj/MapObjActor.hpp"
|
|
|
|
class AstroCore : public MapObjActor {
|
|
public:
|
|
AstroCore(const char *);
|
|
|
|
virtual ~AstroCore();
|
|
virtual void init(const JMapInfoIter &);
|
|
virtual void attackSensor(HitSensor *, HitSensor *);
|
|
virtual bool receiveOtherMsg(u32, HitSensor *, HitSensor *);
|
|
|
|
void exeGrow();
|
|
|
|
inline void exeWait() {
|
|
if (MR::isFirstStep(this)) {
|
|
setStateBeforeGrow();
|
|
}
|
|
}
|
|
|
|
void startDemo();
|
|
void startAnimGrow();
|
|
void setStateBeforeGrow();
|
|
};
|
|
|
|
namespace NrvAstroCore {
|
|
NERVE_DECL(AstroCoreNrvWait, AstroCore, AstroCore::exeWait);
|
|
NERVE_DECL(AstroCoreNrvGrow, AstroCore, AstroCore::exeGrow);
|
|
}; |