         level:Int)
     {
         self.level = level
+        defeated = kInitialDefeated
         
         super.init(
             latitude:latitude,

        
        self.level = level
        
        super.init(snapshot:snapshot)
    }
    
    override func json() -> Any?
    {
        var json:[String:Any] = [
            FDbAlgoHostileItem.level:level]
        
        if let superJson:[String:Any] = super.json() as? [String:Any]
        {

class FDbAlgoHostileItem:FDbAlgoItem
{
    static let level:String = "level"
    static let defeated:String = "defeated"
    
    let level:Int
    let defeated:Int
    private let kInitialDefeated:Int = 0
    
    init(
        latitude:Double,
