mirror of
https://github.com/encounter/Petari.git
synced 2026-03-30 11:34:15 -07:00
24 lines
592 B
C++
24 lines
592 B
C++
#include "Game/Map/OceanRingBloomDrawer.hpp"
|
|
#include "Game/Map/OceanRingDrawer.hpp"
|
|
#include "Game/Map/OceanRing.hpp"
|
|
|
|
OceanRingBloomDrawer::OceanRingBloomDrawer(OceanRing *pRing) : NameObj("オーシャンリング[ブルーム描画]") {
|
|
mRing = pRing;
|
|
}
|
|
|
|
void OceanRingBloomDrawer::init(const JMapInfoIter &rIter) {
|
|
MR::connectToScene(this, -1, -1, -1, 0x21);
|
|
}
|
|
|
|
void OceanRingBloomDrawer::draw() const {
|
|
if (!MR::isValidDraw(mRing) || !MR::isCameraInWater()) {
|
|
return;
|
|
}
|
|
|
|
mRing->mRingDrawer->drawBloom();
|
|
}
|
|
|
|
OceanRingBloomDrawer::~OceanRingBloomDrawer() {
|
|
|
|
}
|