コード例 #1
0
ファイル: Buff.cs プロジェクト: zuojiashun/BattleSystem
 public void OnEnter(BuffControl buffControl)
 {
     for (int index = 0; index < m_list.Length; ++index)
     {
         m_list[index].OnEnter(buffControl, this);
     }
 }
コード例 #2
0
 private BattleSystem()
 {
     ID         = ++m_idCount;
     IsEnable   = true;
     BattleProp = new Property(this);
     BuffCtrl   = new BuffControl(this);
 }
コード例 #3
0
ファイル: Buff.cs プロジェクト: zuojiashun/BattleSystem
 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);
     }
 }
コード例 #4
0
ファイル: BattleSystem.cs プロジェクト: sunny352/BattleSystem
 private BattleSystem()
 {
     ID = ++m_idCount;
     IsEnable = true;
     BattleProp = new Property(this);
     BuffCtrl = new BuffControl(this);
 }
コード例 #5
0
ファイル: Buff.cs プロジェクト: sunny352/BattleSystem
 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);
     }
 }
コード例 #6
0
ファイル: Buff.cs プロジェクト: sunny352/BattleSystem
 public void OnEnter(BuffControl buffControl)
 {
     for (int index = 0; index < m_list.Length; ++index)
     {
         m_list[index].OnEnter(buffControl, this);
     }
 }
コード例 #7
0
ファイル: Buff.cs プロジェクト: sunny352/BattleSystem
 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;
 }
コード例 #8
0
ファイル: Buff.cs プロジェクト: zuojiashun/BattleSystem
 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;
 }
コード例 #9
0
ファイル: Buff.cs プロジェクト: sunny352/BattleSystem
 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);
     }
 }
コード例 #10
0
ファイル: Buff.cs プロジェクト: zuojiashun/BattleSystem
 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);
     }
 }
コード例 #11
0
ファイル: Status.cs プロジェクト: pb0/ID0_Test
    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>();
    }
コード例 #12
0
 public virtual void OnFixedUpdate(BuffControl buffControl, Buff buff)
 {
 }
コード例 #13
0
ファイル: IBuffElement.cs プロジェクト: sunny352/BattleSystem
 public virtual void OnEnter(BuffControl buffControl, Buff buff)
 {
 }
コード例 #14
0
ファイル: IBuffElement.cs プロジェクト: sunny352/BattleSystem
 public virtual void OnSelfResult(IResultBase result, ResultControl resultControl, BuffControl buffControl, Buff buff)
 {
 }
コード例 #15
0
ファイル: IBuffElement.cs プロジェクト: sunny352/BattleSystem
 public virtual void OnFixedUpdate(BuffControl buffControl, Buff buff)
 {
 }
コード例 #16
0
ファイル: IBuffElement.cs プロジェクト: sunny352/BattleSystem
 public virtual void OnExit(BuffControl buffControl, Buff buff)
 {
 }
コード例 #17
0
 public virtual void OnOtherResult(IResultBase result, ResultControl resultControl, BuffControl buffControl, Buff buff)
 {
 }
コード例 #18
0
 public virtual void OnEnter(BuffControl buffControl, Buff buff)
 {
 }
コード例 #19
0
        /*
         *  2. 地图指令 END
         */


        // Start is called before the first frame update
        void Start()
        {
            buffControl = new BuffControl(this);
        }
コード例 #20
0
 public virtual void OnExit(BuffControl buffControl, Buff buff)
 {
 }