Haxe Code Cookbook
Haxe programming cookbookDesign patterns

Design patterns

Overview of Haxe design patterns snippets and tutorials.

  • Jul 11, 2017 Design patterns /

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

  • Jul 11, 2017 Design patterns /

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

  • Jan 02, 2018 Design patterns /

    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.

  • Jul 11, 2017 Design patterns /

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