summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/BlockInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/BlockInfo.h b/src/BlockInfo.h
index 9644eb208..5992db9d9 100644
--- a/src/BlockInfo.h
+++ b/src/BlockInfo.h
@@ -47,6 +47,10 @@ public:
// tolua_end
+ /** Returns how much of an explosion Destruction Lazor's (tm) intensity the given block attenuates.
+ See Physics\Explodinator.cpp for details of explosion block destruction. */
+ static float GetExplosionAbsorption(BLOCKTYPE Block);
+
inline static cBlockHandler * GetHandler (BLOCKTYPE a_Type) { return Get(a_Type).m_Handler.get(); }
/** Creates a default BlockInfo structure, initializes all values to their defaults */