export default class FortifiedData { public name : string ; public difficulty : number ; public phase : number ; public pos : cc . Vec2 ; public id : number ; public thread : number ; public challenging : boolean ; constructor ( data , pos ) { this . name = data . name ; this . difficulty = data . difficulty ; this . phase = data . phase ; this . id = data . id ; this . thread = data . thread ; this . pos = pos ; this . challenging = window . appContext . DataContainer . BattleData . label > 0 && ( window . appContext . DataContainer . BattleData . map_id == data . map_id ) ; } }