Dominik Liebler f1e8c5796f README State
2013-09-24 14:13:00 +02:00
..
2013-09-13 14:05:31 +02:00
2013-09-13 14:05:31 +02:00
cs
2013-09-13 14:19:55 +02:00
2013-09-13 14:05:31 +02:00
2013-09-24 14:13:00 +02:00
2013-09-13 14:05:31 +02:00

State

Purpose

Encapsulate varying behavior fo the same routine based on an object's state. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements.