MCPcopy Create free account
hub / github.com/codecombat/codecombat / constructor

Method constructor

ozaria/engine/cinematic/CinematicLankBoss.js:801–804  ·  view source on GitHub ↗

* @param {Function} animationFn Function that returns a run function, animation tween * and a function to update the state of the lank.

(animationFn)

Source from the content-addressed store, hash-verified

799 * and a function to update the state of the lank.
800 */
801 constructor (animationFn) {
802 super()
803 this.animationFn = animationFn
804 }
805
806 run () {
807 const { run, animation, lankStateChanged } = this.animationFn()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected