Haxe Code Cookbook

Design patterns

Overview of Haxe design patterns snippets and tutorials.

  • This is a basic example of the Factory design pattern in Haxe.‥

  • This is a basic example of the Lazy initialization design pattern in Haxe.‥

  • This is a basic example of the Singleton design pattern in Haxe.‥