Mercurial > hg > IntentMadeManifest
diff intentmademanifest/api.py @ 2:b8be785f8e87
lets pretend that were dead...er, doing something
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 07 Apr 2013 13:51:29 -0700 |
parents | 6aafed869664 |
children |
line wrap: on
line diff
--- a/intentmademanifest/api.py Sun Apr 07 03:29:48 2013 -0700 +++ b/intentmademanifest/api.py Sun Apr 07 13:51:29 2013 -0700 @@ -21,5 +21,17 @@ def state(self): """ - current state + current state; + returns the current state object """ + +class State(object): + """a state""" + + def __init__(self, *transitions): + + def available(): + """avalable transitions""" + + def transit(): + """invoke a transition"""