/** * Creates a new Territory * * @return iTerritory */ public static function create($name, $type = TERR_LAND, $isSupply = false) { $t = new TerritoryTemplate(); $t->setName($name); $t->setType($type); $t->setIsSupply($isSupply); return $t; }