예제 #1
0
파일: Event.cs 프로젝트: manveti/DeCamp
        public override void revert(CampaignState s)
        {
            Character c = s.getCharacter(this.charId);

            foreach (AttributeMod m in this.modifications)
            {
                m.revert(c);
            }
        }
예제 #2
0
파일: Event.cs 프로젝트: manveti/DeCamp
 public override void apply(CampaignState s)
 {
     this.character = s.getCharacter(this.charId);
     s.removeCharacter(this.charId);
 }