Collision functions for BaseEntity and BaseWorld.

Some rectangle collision tests.
Types might be hacky...

TODO: implement setHitbox
TODO: continue DEBUG_MODE
TODO: continue implementing BaseEntity
TODO: implement FP camera