/******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp The following code is licensed under the BSD 1 clause license. SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once #include #include "Level.hpp" #include "world/entity/Entity.hpp" class Explosion { public: Explosion(Level*, Entity*, float x, float y, float z, float power); void addParticles(); void explode(); // @NOTE: This is inlined inline void setFiery(bool b) { m_bIsFiery = b; } public: Vec3 m_pos; float m_power; //field_10, field_14, field_18, field_1C - Likely a set std::set m_tiles; int field_20; bool m_bIsFiery; Entity* m_pEntity; Random m_random; Level* m_pLevel; };