kind of a useless function now

This commit is contained in:
Gered 2016-03-03 19:20:48 -05:00
parent 86986b553f
commit b68fbb55db

View file

@ -60,15 +60,6 @@
encounter encounter
(:entities encounter))) (:entities encounter)))
(s/defn update-all-active-encounter-entities :- RaidAnalysis
"updates all entities in the current active encounter in the full parsed data
using function f which takes the current entity and any supplied args, returning
a new entity which is 'updated' in the original encounter. returns the updated
full parsed data."
[data :- RaidAnalysis
f & args]
(update-active-encounter data #(update-all-entities % f args)))
(s/defn update-entity :- Encounter (s/defn update-entity :- Encounter
"updates an entity (specified by name) in the encounter using function f which "updates an entity (specified by name) in the encounter using function f which
takes the current entity (or nil if no such entity exists in the encounter) and takes the current entity (or nil if no such entity exists in the encounter) and