Advertisement

Newbie needs some advices

Started by July 16, 2011 05:54 PM
11 comments, last by blubberbernd 13 years, 4 months ago
You could register the global instance as a global variable.
Indeed. That's what I usually do:


r = engine->RegisterGlobalProperty("Singleton single", Singleton::GetInstance()); assert( r >= 0 );

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
Nice, thanks for your great help. :)

This topic is closed to new replies.

Advertisement