Skip to content

Instantly share code, notes, and snippets.

@timcowlishaw
Created March 1, 2022 17:17
Show Gist options
  • Save timcowlishaw/4768b6640bb16c6e4ad06c34ce458646 to your computer and use it in GitHub Desktop.
Save timcowlishaw/4768b6640bb16c6e4ad06c34ce458646 to your computer and use it in GitHub Desktop.
Cenatus PHASE blog post snippet 4
// before calling self.phaseEngine.start();
self.phaseListener = PHASEListener(engine: self.phaseEngine)
try! self.engine.rootObject.addChild(self.phaseListener)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment