mchakravarty / HaskellSpriteKit

Haskell binding to Apple's SpriteKit framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Potentially outdated `haskellScenePtr`

mchakravarty opened this issue · comments

The haskellScenePtr refers to the Haskell version of a scene including the scene's children. Those children may, however, be outdated when we get back to sceneUpdate on the next frame as both actions and contact handlers may have changed arbitrary children in arbitrary ways.

  • Update scene children when making use of haskellScenePtr at the start of a frame (using lazy marshalling as usual).