Added class definitions for Tile,Map,Layer borrowed from allegro.cc