Beispiel #1
0
        protected override GameAction ActionForDirection(Vector position, Vector direction, MapCell triggerCell, TurnContext context)
        {
            var pattern = Offsets.Rotate(direction.Angle).Move(position);
            var cells   = context.Stage.Map.CellsAt(pattern);

            return(new AOEAttackAction(cells, triggerCell, direction, SourceSFX));
        }