Example #1
0
        public ActionResult Perform(Creature creature, GameResult result)
        {
            GameEffect fireEffect = new FireEffect(_x, _y, _x + 5, _y + 5, Assets.RootBeer, 1f, 2);
            GameEvent  newEvent   = new GameEvent(fireEffect, _x, _y);

            result.AddEvent(newEvent);
            return(ActionResult.SUCCESS);
        }