diff --git a/Re-Abyss/app/views/Shader/BossArrival/BossArrivalShader.cpp b/Re-Abyss/app/views/Shader/BossArrival/BossArrivalShader.cpp index c5bc17c9..5f9d9360 100644 --- a/Re-Abyss/app/views/Shader/BossArrival/BossArrivalShader.cpp +++ b/Re-Abyss/app/views/Shader/BossArrival/BossArrivalShader.cpp @@ -21,6 +21,10 @@ namespace abyss { m_cb->pos = static_cast(pos); } + s3d::Vec2 getPos() const + { + return static_cast(m_cb->pos); + } void setTime(double time) { m_cb->timer = static_cast(time); @@ -56,4 +60,8 @@ namespace abyss { return m_pImpl->start(); } + s3d::Vec2 BossArrivalShader::getPos() const + { + return m_pImpl->getPos(); + } } diff --git a/Re-Abyss/app/views/Shader/BossArrival/BossArrivalShader.hpp b/Re-Abyss/app/views/Shader/BossArrival/BossArrivalShader.hpp index 5b599e31..d7f67310 100644 --- a/Re-Abyss/app/views/Shader/BossArrival/BossArrivalShader.hpp +++ b/Re-Abyss/app/views/Shader/BossArrival/BossArrivalShader.hpp @@ -18,6 +18,8 @@ namespace abyss const BossArrivalShader& setPos(const s3d::Vec2& pos) const; const BossArrivalShader& setTime(double time) const; s3d::ScopedCustomShader2D start() const; + + s3d::Vec2 getPos() const; private: std::unique_ptr m_pImpl; };