예제 #1
0
 public UnitData(
     UnitData objectData
     ) : base(
         objectData.type,
         objectData.objectId,
         objectData.objectName,
         objectData.hitPoints,
         objectData.isBusy,
         objectData.activeStatuse,
         objectData.currentlySelected,
         objectData.movingIntoPosition,
         objectData.aiming,
         objectData.aimRotation,
         objectData.attackDelayFrameCounter,
         objectData.currentWeaponChargeTime,
         objectData.currentWeaponMultiChargeTime,
         objectData.currentAttackDelayTime,
         objectData.isInvincible,
         objectData.stateController,
         objectData.underAttackFrameCounter,
         objectData.fogOfWarAgent,
         objectData.position,
         objectData.rotation
         )
 {
     this.stateController     = null;
     this.unitStateController = objectData.unitStateController;
     this.abilityAgent        = objectData.abilityAgent;
     this.holdingPosition     = objectData.holdingPosition;
     this.aimTargetId         = objectData.aimTargetId;
     this.destination         = objectData.destination;
 }
예제 #2
0
 public BossPartData(
     WorldObjectData baseObjectData,
     AbilityAgentData abilityAgent,
     int aimTargetId
     ) : base(baseObjectData)
 {
     this.abilityAgent = abilityAgent;
     this.aimTargetId  = aimTargetId;
 }
예제 #3
0
 public UnitData(
     WorldObjectData baseObjectData,
     UnitStateControllerData stateController,
     AbilityAgentData abilityAgent,
     bool holdingPosition,
     int aimTargetId,
     Vector3 destination
     ) : base(baseObjectData)
 {
     this.stateController     = null;
     this.unitStateController = stateController;
     this.abilityAgent        = abilityAgent;
     this.holdingPosition     = holdingPosition;
     this.aimTargetId         = aimTargetId;
     this.destination         = destination;
 }