Beispiel #1
0
        public static Skill GetSkill(ESkillName name, SkillUseButton button)
        {
            switch (name)
            {
            case ESkillName.Arrest:
                return(new Arrest(button));

            case ESkillName.FastMove:
                return(new FastMove(button));

            case ESkillName.TrapItem:
                return(new TrapItem(button));

            case ESkillName.Sensing:
                return(new Sensing(button));

            case ESkillName.SecretPath:
                return(new SecretPath(button));

            case ESkillName.Smoke:
                return(new Smoke(button));

            default:
                return(new DummySkill(button));
            }
        }
Beispiel #2
0
        public void InitArrestSetting(SkillUseButton button, int initArrestCount)
        {
            arrestCount  = initArrestCount;
            arrestButton = button;

            arrestButton.SetRemainingCount(ArrestCount);
        }
Beispiel #3
0
 public TrapItem(SkillUseButton _button) : base(_button)
 {
     button.SetRemainingCount(count);
 }
Beispiel #4
0
 public FastMove(SkillUseButton _button) : base(_button)
 {
 }
Beispiel #5
0
 public Arrest(SkillUseButton _button) : base(_button)
 {
     _button.SetPassive();
     MultiplayRoomManager.Instance.InitArrestSetting(_button, initCount);
 }
Beispiel #6
0
 public Skill(SkillUseButton _button)
 {
     button = _button;
 }
Beispiel #7
0
 public DummySkill(SkillUseButton _button) : base(_button)
 {
     button.SetRemainingCount(count);
 }
Beispiel #8
0
 public Smoke(SkillUseButton _button) : base(_button)
 {
 }
Beispiel #9
0
 public SecretPath(SkillUseButton _button) : base(_button)
 {
     button.SetRemainingCount(count / 2);
 }
Beispiel #10
0
 public Sensing(SkillUseButton _button) : base(_button)
 {
 }