summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physLayerContactPointInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/Physics/System/physLayerContactPointInfo.h')
-rw-r--r--src/KingSystem/Physics/System/physLayerContactPointInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/KingSystem/Physics/System/physLayerContactPointInfo.h b/src/KingSystem/Physics/System/physLayerContactPointInfo.h
index 377adb07..2080cfb0 100644
--- a/src/KingSystem/Physics/System/physLayerContactPointInfo.h
+++ b/src/KingSystem/Physics/System/physLayerContactPointInfo.h
@@ -84,6 +84,8 @@ public:
bool registerLayerPair(ContactLayer layer1, ContactLayer layer2, bool enabled = true);
bool isPairUnknown(ContactLayer layer1, ContactLayer layer2) const;
+ ContactLayerType getLayerType() const { return mLayerType; }
+
ContactCallback* getCallback() const { return mCallback; }
void setCallback(ContactCallback* callback) { mCallback = callback; }