Basis for actor AI.
Changes to TileGrid to allow for edges between tiles to be defined, rather than marking whole tiles as inaccessible.