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

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

		let layerRadius = getLayerRadius(layerIndex)
		
		// length of from space to space
		let lengthFromEventToEvent = SummerwarsOptions.warsMaxRadius * 2
		let lengthOfCircle: CGFloat = 2.0 * CGFloat(M_PI) * layerRadius
		let maxWarCount = lengthOfCircle / lengthFromEventToEvent
		
