Terrain now uses Flag clas to denote is_solid and is_transparent