State Design Pattern
State is a behavioral design pattern that lets an object alter its behavior when its internal state changes. It appears as if the object changed its class.
State is a behavioral design pattern that lets an object alter its behavior when its internal state changes. It appears as if the object changed its class.