2023-12-13 00:40:16 -05:00
|
|
|
#include "Game/Map/LightDirector.hpp"
|
|
|
|
|
#include "Game/Map/LightFunction.hpp"
|
|
|
|
|
#include "Game/Util.hpp"
|
2021-11-07 02:40:54 -05:00
|
|
|
|
|
|
|
|
void LightDirector::init(const JMapInfoIter &rIter) {
|
|
|
|
|
MR::connectToSceneMapObjMovement(this);
|
|
|
|
|
LightFunction::loadAllLightWhite();
|
|
|
|
|
mHolder = new LightDataHolder();
|
|
|
|
|
mZoneHolder = new LightZoneDataHolder();
|
|
|
|
|
mPointCtrl = new LightPointCtrl();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// LightDirector::loadLightPlayer
|
|
|
|
|
|
|
|
|
|
void LightDirector::loadLightCoin() const {
|
|
|
|
|
LightFunction::loadLightInfoCoin(&mHolder->_8);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void LightDirector::movement() {
|
|
|
|
|
mPointCtrl->update();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
LightDirector::~LightDirector() {
|
|
|
|
|
|
|
|
|
|
}
|