blob: 509e1bd61dc6d55eb31f01592285f27394f54eb2 (
plain)
1
2
3
4
5
6
7
8
9
10
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
|