Exemplo n.º 1
0
		public virtual void updateStateRecord(SingleFighterRecord record)
		{
			record.clearState();
			record.addProp(BattleRecordConstants.BATTLE_FIGHTER_STATE_FLAG, FighterStateFlag);
			BattleRecordHelper.updateStateRecord(record, stateMap, false);
			BattleRecordHelper.updateStateRecord(record, lastStateMap, true);
		}
Exemplo n.º 2
0
		public static void initFighterRecord(BattleFighter fighter, SingleFighterRecord record)
		{
			record.Index = fighter.Index;
			record.Side = fighter.Side;
		}
Exemplo n.º 3
0
		public static void updateStateRecord(SingleFighterRecord record, Dictionary<int, BattleFighterState> stateMap, bool removeState)
		{
			foreach (BattleFighterState _state in stateMap.Values)
			{
				int _round = removeState ? 0 : _state.Round;
				record.addState(_state.BuffId, _state.ShowId, _state.Index, _round, _state.ParamMap);
			}
		}
Exemplo n.º 4
0
		public virtual void updateStateRecord(SingleFighterRecord record)
		{
			stateManager.updateStateRecord(record);
		}