1#include "Game/AreaObj/DeathArea.hpp"
3DeathArea::DeathArea(
int a1,
const char *pName) :
AreaObj(a1, pName) {
9 MR::connectToSceneAreaObj(
this);
12void DeathArea::movement() {
13 if (isInVolume(*MR::getPlayerPos())) {
14 bool canKill = getDeathType() == 0;
16 MR::forceKillPlayerByAbyss();
21bool DeathArea::isInVolume(
const TVec3f &rVec)
const {
24 if (isValidSwitchA() && !isOnSwitchA()) {
28 ret = AreaObj::isInVolume(rVec);
34s32 DeathArea::getDeathType()
const {
35 return mObjArg0 != -1 ? mObjArg0 : 0;
38DeathArea::~DeathArea() {
42const char* DeathArea::getManagerName()
const {
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.