1#include "Game/MapObj/CoconutTree.hpp"
2#include "Game/Util.hpp"
4CoconutTree::CoconutTree(
const char *pName) :
LiveActor(pName) {
8CoconutTree::~CoconutTree() {
13 MR::initDefaultPos(
this, rIter);
14 initModelManagerWithAnm(
"CoconutTree",
nullptr,
false);
15 MR::connectToSceneMapObj(
this);
17 MR::addBodyMessageSensorMapObj(
this);
18 MR::initCollisionParts(
this,
"CoconutTree",
getSensor(
"body"),
nullptr);
19 MR::setClippingTypeSphere(
this, 2000.0f);
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
The basis of a drawable actor that can contain states (see: Nerve)
HitSensor * getSensor(const char *pSensorName) const
Gets a sensor.