summaryrefslogtreecommitdiff
path: root/collision.txt
diff options
context:
space:
mode:
Diffstat (limited to 'collision.txt')
-rw-r--r--collision.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/collision.txt b/collision.txt
new file mode 100644
index 0000000..509e1bd
--- /dev/null
+++ b/collision.txt
@@ -0,0 +1,11 @@
+collision check by using object map from click registering
+collision passed as returns
+cObject::collision? for both objects?
+
+bool onCollisionActive(unsigned int _hit, onCollisionPassice(_hit))
+_hit: TOP,BOTTOM,LEFT,RIGHT
+return true: abort move ; false: continue move
+
+int onCollisionPassive(unsigned int _hit)
+_hit: TOP,BOTTOM,LEFT,RIGHT
+return: Maybe object type to tell object what it hit