 	}
 	
 	static func getMinCircleRadius() -> CGFloat {
-		return Settings.warsMaxRadius * 0.6
+		return SummerwarsOptions.warsMaxRadius * 0.6
 	}
 	
 	func setWar(content: WarsContent) {

    func doFocus() {
		if !isFocus {
			isFocus = true
    		UIView.animateWithDuration(0.2, animations: {() -> Void in
    			self.warTitleLabel.alpha = 0.0
    			self.warTitleLabelBackground.alpha = 0.0
    			}, completion: {(Bool) -> () in
    		})
		}
	}
	
	func undoFocus() {
		if isFocus {
			isFocus = false
    		UIView.animateWithDuration(1.0, animations: {() -> Void in
    			self.warTitleLabel.alpha = 1.0
    			self.warTitleLabelBackground.alpha = 1.0
    			}, completion: {(Bool) -> () in
    		})
		}
	}
}

	
	func getLayerCountByCount(warCount:Int) ->Int {
		var sumMaxWarCount = 0
		for layerIndex in 0...SummerwarsOptions.maxLayerCount {
			let maxWarCountOfLayer = getMaxCountOfLayer(layerIndex)
			sumMaxWarCount += maxWarCountOfLayer
			if(warCount <= sumMaxWarCount) {
				return layerIndex
			}
		}
		return SummerwarsOptions.maxLayerCount
	}
	
	func getMaxCountOfLayer(layerIndex:Int) ->Int {
