Source

dictionary_switches / code / StateMachine / State.py

Full commit
1
2
3
4
5
6
7
8
9
# StateMachine/State.py
# A State has an operation, and can be moved
# into the next State given an Input:

class State:
    def run(self):
        assert 0, "run not implemented"
    def next(self, input):
        assert 0, "next not implemented"