import RegionKind from "./RegionKind" ; export default class UnitType { id : string ; name : string ; description : string ; combatStrength : number ; combatStrengthOnAttackStructure : number | null ; walksOn : RegionKind ; canTransport : RegionKind | null ; canRetreat : boolean ; constructor ( id , name , description , walksOn , combatStrength , combatStrengthOnAttackStructure = null , canTransport = null , canRetreat = true ) { this . id = id ; this . name = name ; this . description = description ; this . walksOn = walksOn ; this . canTransport = canTransport ; this . combatStrength = combatStrength ; this . combatStrengthOnAttackStructure = combatStrengthOnAttackStructure ; this . canRetreat = canRetreat ; } }