   ([this id]
    (show/end-effect! (get-in @(.state this) [:cue :key]) :when-id id)))
 
-(defn- -kill
+(defn -kill
   "Terminate the cue immediately. If an id parameter is given, the cue
   will be killed only if it is still running the effect with the
   specified id."

      (throw (IllegalStateException. (str "Cannot create Cue object: No cue at " x ", " y " in *show*"))))
    [[] (atom {:x x :y y :cue cue})]))

(defn- -post-init
  "The post-init phase of the constructors tells Max about the inlets
  and outlets supported by this object, and registers our interest in
  cue state with Afterglow."

                        [kill [int] void]])
  (:require [afterglow.max.core :as core]
            [afterglow.controllers :as controllers]
            [afterglow.effects.cues :as cues]
            [afterglow.show :as show]
            [afterglow.show-context :refer [*show*]]
            [taoensso.timbre :as timbre])
