Community Coding : Design Patterns

Trying out AbstractFactory pattern :

04_AbstractFactory_Example.vl (79.6 KB)

3 Likes

Added comments on AbstractFactory.
04_AbstractFactory.vl (137.3 KB)

And here is a first shot at FactoryMethod.
FactoryMethod.vl (38.6 KB)

Another at the ObserverPattern.
ObserverPattern.vl (44.5 KB)

Quick try at the Facad pattern with TextureFX (not sure about Dispose though)
FacadPattern.zip (9.6 KB)

4 Likes

We also have the State Pattern now, see this video for the theory, and here is the implementation:

image

2 Likes