Singleton : Fields vs Globals

BlitzMax Forums/BlitzMax Programming/Singleton : Fields vs Globals

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If it is a single instance type, there's no need to have any instance. yo can declare all as global and use functions. Even declare the type as abstract. That's the closest you'll get to create a shared object on BlitzMax