Пример #1
0
		public MenkoBattleData(uint id, bool isPlayer, bool isRepresent)
		{
			this.isRepresent = isRepresent;
			this.isPlayer = isPlayer;
			baseData = AssetManager.Load(AssetPath.GetMonsterDataPath(id)).Asset as MenkoData;
			skillData = AssetManager.Load(AssetPath.GetSkillDataPath(baseData.Character.SkillID)).Asset as SkillData;
			status = new BattleStatus(baseData.Status, skillData);
		}
Пример #2
0
 public MenkoBattleData(uint id, bool isPlayer, bool isRepresent)
 {
     this.isRepresent = isRepresent;
     this.isPlayer    = isPlayer;
     baseData         = AssetManager.Load(AssetPath.GetMonsterDataPath(id)).Asset as MenkoData;
     skillData        = AssetManager.Load(AssetPath.GetSkillDataPath(baseData.Character.SkillID)).Asset as SkillData;
     status           = new BattleStatus(baseData.Status, skillData);
 }