Added CheckTileCollision to GameObject class.