Changed Tile.java to support the soon to be implemented tile engine