Design patterns
Overview of Haxe design patterns snippets and tutorials.
Mar 22, 2016 Design patterns / Factory
This is a basic example of the Factory design pattern in Haxe.
Mar 22, 2016 Design patterns / Lazy initialization
This is a basic example of the Lazy initialization design pattern in Haxe.
May 05, 2020 Design patterns / Method chaining / Fluent interface
This is an example of the Method chaining design pattern in Haxe.
Jan 02, 2018 Design patterns / Observer
This is a basic example of the Observer design pattern in Haxe. The pattern makes use of an Observer interface and an Observable base class to notify objects when another object's property is changed so that they can react accordingly.
Mar 22, 2016 Design patterns / Singleton
This is a basic example of the Singleton design pattern in Haxe.