summaryrefslogtreecommitdiffstats
path: root/src/Physics/Explodinator.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-09-12 20:57:44 +0200
committerGitHub <noreply@github.com>2020-09-12 20:57:44 +0200
commit93adbdce9a769b42baeb70f9ead5c7c6a35834b5 (patch)
treee0116770113a78af0d2d1c4d44a3878f551f0703 /src/Physics/Explodinator.h
parentfixed missing include for FreeBSD. (#4852) (diff)
downloadcuberite-93adbdce9a769b42baeb70f9ead5c7c6a35834b5.tar
cuberite-93adbdce9a769b42baeb70f9ead5c7c6a35834b5.tar.gz
cuberite-93adbdce9a769b42baeb70f9ead5c7c6a35834b5.tar.bz2
cuberite-93adbdce9a769b42baeb70f9ead5c7c6a35834b5.tar.lz
cuberite-93adbdce9a769b42baeb70f9ead5c7c6a35834b5.tar.xz
cuberite-93adbdce9a769b42baeb70f9ead5c7c6a35834b5.tar.zst
cuberite-93adbdce9a769b42baeb70f9ead5c7c6a35834b5.zip
Diffstat (limited to '')
-rw-r--r--src/Physics/Explodinator.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Physics/Explodinator.h b/src/Physics/Explodinator.h
new file mode 100644
index 000000000..daf86456a
--- /dev/null
+++ b/src/Physics/Explodinator.h
@@ -0,0 +1,20 @@
+
+#pragma once
+
+
+
+
+
+class cWorld;
+
+
+
+
+
+namespace Explodinator
+{
+ /** Creates an explosion of Power, centred at Position, with ability to set fires as provided.
+ For maximum efficiency, Position should be in the centre of the entity or block that exploded.
+ Kaboom indeed, you drunken wretch. */
+ void Kaboom(cWorld & World, Vector3f Position, unsigned Power, bool Fiery);
+}