Rewritten tile properties code to store tile attributes in same way as the game or...