Tag Archives: memento-pattern

Design Patterns: Memento

The memento pattern is about recording state. In a racing game there are sometimes the “ghosts” which is a shadow of your best run. These ghosts could have all their movements recorded by a memento and replayed during the game.
Continue reading

Advertisements