State pattern is intended to provide a mechanism to allow an object to alter its behavior in response to internal state changes. To the client, it appears as though th object has changed its class. And last, but not least, my most favorite design pattern: the State pattern. Why it is my favourite pattern? I [...]


