Material class now works with Tiles. Each tile generates a material that the tile is made out of, with certain attributes.