public void OnEnter(BuffControl buffControl) { for (int index = 0; index < m_list.Length; ++index) { m_list[index].OnEnter(buffControl, this); } }
private BattleSystem() { ID = ++m_idCount; IsEnable = true; BattleProp = new Property(this); BuffCtrl = new BuffControl(this); }
public void OnOtherResult(IResultBase result, ResultControl control, BuffControl buffControl) { for (int index = 0; index < m_list.Length; ++index) { m_list[index].OnOtherResult(result, control, buffControl, this); } }
public void OnSelfResult(IResultBase result, ResultControl resultControl, BuffControl buffControl) { for (int index = 0; index < m_list.Length; ++index) { m_list[index].OnSelfResult(result, resultControl, buffControl, this); } }
public void OnExit(BuffControl buffControl) { for (int index = 0; index < m_list.Length; ++index) { m_list[index].OnExit(buffControl, this); } onTimerFinished = null; onTimerChanged = null; onBuffOperation = null; }
public void FixedUpdate(BuffControl buffControl) { for (int index = 0; index < m_list.Length; ++index) { m_list[index].OnFixedUpdate(buffControl, this); } if (null != onTimerChanged) { onTimerChanged(this); } }
public Status(ObjectHolder owner, Stat stat, System.Type statusType) { this.StatusType = statusType; this.stat = stat; buffControl = new BuffControl(owner, stat); values = new Dictionary<Enum, float>(); minValues = new Dictionary<Enum, float>(); maxValues = new Dictionary<Enum, float>(); minStats = new Dictionary<Enum, Enum>(); maxStats = new Dictionary<Enum, Enum>(); }
public virtual void OnFixedUpdate(BuffControl buffControl, Buff buff) { }
public virtual void OnEnter(BuffControl buffControl, Buff buff) { }
public virtual void OnSelfResult(IResultBase result, ResultControl resultControl, BuffControl buffControl, Buff buff) { }
public virtual void OnExit(BuffControl buffControl, Buff buff) { }
public virtual void OnOtherResult(IResultBase result, ResultControl resultControl, BuffControl buffControl, Buff buff) { }
/* * 2. 地图指令 END */ // Start is called before the first frame update void Start() { buffControl = new BuffControl(this); }