Esempio n. 1
0
 public void OnEnter(BuffControl buffControl)
 {
     for (int index = 0; index < m_list.Length; ++index)
     {
         m_list[index].OnEnter(buffControl, this);
     }
 }
Esempio n. 2
0
 private BattleSystem()
 {
     ID         = ++m_idCount;
     IsEnable   = true;
     BattleProp = new Property(this);
     BuffCtrl   = new BuffControl(this);
 }
Esempio n. 3
0
 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);
     }
 }
Esempio n. 4
0
 private BattleSystem()
 {
     ID = ++m_idCount;
     IsEnable = true;
     BattleProp = new Property(this);
     BuffCtrl = new BuffControl(this);
 }
Esempio n. 5
0
 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);
     }
 }
Esempio n. 6
0
 public void OnEnter(BuffControl buffControl)
 {
     for (int index = 0; index < m_list.Length; ++index)
     {
         m_list[index].OnEnter(buffControl, this);
     }
 }
Esempio n. 7
0
 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;
 }
Esempio n. 8
0
 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;
 }
Esempio n. 9
0
 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);
     }
 }
Esempio n. 10
0
 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);
     }
 }
Esempio n. 11
0
    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>();
    }
Esempio n. 12
0
 public virtual void OnFixedUpdate(BuffControl buffControl, Buff buff)
 {
 }
Esempio n. 13
0
 public virtual void OnEnter(BuffControl buffControl, Buff buff)
 {
 }
Esempio n. 14
0
 public virtual void OnSelfResult(IResultBase result, ResultControl resultControl, BuffControl buffControl, Buff buff)
 {
 }
Esempio n. 15
0
 public virtual void OnFixedUpdate(BuffControl buffControl, Buff buff)
 {
 }
Esempio n. 16
0
 public virtual void OnExit(BuffControl buffControl, Buff buff)
 {
 }
Esempio n. 17
0
 public virtual void OnOtherResult(IResultBase result, ResultControl resultControl, BuffControl buffControl, Buff buff)
 {
 }
Esempio n. 18
0
 public virtual void OnEnter(BuffControl buffControl, Buff buff)
 {
 }
Esempio n. 19
0
        /*
         *  2. 地图指令 END
         */


        // Start is called before the first frame update
        void Start()
        {
            buffControl = new BuffControl(this);
        }
Esempio n. 20
0
 public virtual void OnExit(BuffControl buffControl, Buff buff)
 {
 }