static void destroy(void) { cpBodyFree(rogueBoxBody); ChipmunkDemoFreeSpaceChildren(space); cpSpaceFree(space); }
static void destroy(cpSpace *space) { ChipmunkDemoFreeSpaceChildren(space); cpBodyFree(planetBody); cpSpaceFree(space); }
static void destroy(void) { ChipmunkDemoFreeSpaceChildren(space); cpSpaceFree(space); }