Implementation of the State_Exercise() function as used in the State Pattern. More...
Go to the source code of this file.
Namespaces | |
namespace | DesignPatternExamples_python |
The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace. | |
namespace | DesignPatternExamples_python.state |
namespace | DesignPatternExamples_python.state.state_exercise |
Functions | |
None | _State_DisplayText (str textToDisplay) |
Helper method to display text from the State exercise. | |
def | State_Exercise () |
Example of using the State Pattern. | |
Implementation of the State_Exercise() function as used in the State Pattern.
Definition in file state_exercise.py.