Exemple #1
0
 public GeneratedBuff(BuffDefine buffDefine)
 {
     defineId = buffDefine.getId();
 }
Exemple #2
0
        public Task onEnable(CardEngine game, Card card)
        {
            BuffDefine buffDefine = game.getBuffDefine(defineId);

            return(buffDefine.onEnable(game, card, this));
        }
 public void addBuffDefine(BuffDefine buffDefine)
 {
     _buffDefineDict.Add(buffDefine.getId(), buffDefine);
 }