Cuberite
A lightweight, fast and extensible game server for Minecraft
Explodinator.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 
5 
6 
7 
8 class cEntity;
9 class cWorld;
10 
11 
12 
13 
14 namespace Explodinator
15 {
20  void Kaboom(cWorld & World, Vector3f Position, int Power, bool Fiery, const cEntity * a_ExplodingEntity);
21 }
Utilities to allow casting a cWorld to one of its interfaces without including World....
Definition: OpaqueWorld.h:13
void Kaboom(cWorld &a_World, const Vector3f a_Position, const int a_Power, const bool a_Fiery, const cEntity *const a_ExplodingEntity)
Creates an explosion of Power, centred at Position, with ability to set fires as provided.
unsigned char Power(const BlockState Block)
Definition: Entity.h:76
Definition: World.h:53