public function __get($name)
 {
     switch ($name) {
         case 'color':
             return $this->mColor;
         case 'name':
             return $this->mName;
         case 'id':
             return $this->mColor->toRGBInteger();
     }
 }
 /**
  * @param Color $color
  * @return LandType 
  */
 public function getLandType(Color $color)
 {
     return $this->mLandTypes[$color->toRGBInteger()];
 }