Skip to content

A macro-based solution for automatic singleton management in Haxe.

License

Notifications You must be signed in to change notification settings

DelishusCake/Singleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Singleton

A macro-based solution for automatic singleton management in Haxe.

Use

Simply extend the Singleton class!

class Thing extends Singleton
{
	function new() {}
}

Then use getInstance() to grab the instance anywhere!

Thing.getInstance();

About

A macro-based solution for automatic singleton management in Haxe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages