public ActionEvent(Encounter encounter, ActionButton action)
 {
     this.encounter = encounter;
     this.action    = action;
 }
Example #2
0
        private void Strike(Encounter encounter, LivingBase user, LivingBase target)
        {
            Damage amount = user.Attack(target);

            GameEngine.game.AppendText($"{user.name} slashes {target.name} for {amount.amount} {amount.type} damage.\n");
        }