Page MenuHome

BGE : End game python callbacks.
AbandonedPublic

Authored by Porteries Tristan (panzergame) on Apr 18 2015, 7:31 PM.

Details

Summary

I add two function in bge.logic to add callbacks called at the end of the game.

bge.logic.setEndGameCallbacks(list)
bge.logic.getEndGameCallbacks()

Diff Detail

Repository
rB Blender
Branch
ge_end_game_callback

Event Timeline

Porteries Tristan (panzergame) retitled this revision from BGE : End gae python callbacks. to BGE : End game python callbacks..Apr 18 2015, 7:32 PM

I've said this on IRC, but I'm not a fan of adding more attributes to bge.logic, and I'm not sure that we need this. It is already trivial to support this with Python, and either way one must use a Python controller, so it's not a convenience change.