collision functions

fruitgame updated to test it
Merge remote-tracking branch 'origin/kadir-dev' into dev