Exemple #1
0
        Renderer rend; //used to change color when charging

        public override void OnBegin(BreuBossController boss)
        {
            base.OnBegin(boss);

            CTimer = Boss.ChargeTimeLeft;

            rend = Boss.HandLeft.GetComponent <Renderer>();
        }
Exemple #2
0
        Renderer rend; //used to change color when charging
        public override void OnBegin(BreuBossController boss)
        {
            base.OnBegin(boss);

            CTimer = Boss.ChargeTimeHead;
            rend   = Boss.Head.GetComponent <Renderer>();

            /*
             * if (Boss.HeadAttackWarningRenderer != null)
             * {
             *  Boss.HeadAttackWarningRenderer.enabled = true;
             * }
             */
        }
        public override void OnBegin(BreuBossController boss)
        {
            base.OnBegin(boss);

            CTimer = Boss.ChargeTimeRight;
        }
        public override void OnBegin(BreuBossController boss)
        {
            base.OnBegin(boss);

            RstTimer = Boss.ResetTimer;
        }
 /// <summary>
 /// Used when state starts
 /// </summary>
 /// <param name="boss"></param>
 public virtual void OnBegin(BreuBossController boss)
 {
     this.Boss = boss;
 }
Exemple #6
0
        public override void OnBegin(BreuBossController boss)
        {
            base.OnBegin(boss);

            ITimer = Boss.IdleTimer;
        }