class <%= name %>Sprite < Joybox::Core::Sprite def on_enter # Set up end def on_exit # Tear down end end