Created
February 29, 2016 09:05
-
-
Save anonymous/e1cc27e5de62a84db262 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| public interface FSM<S,E,T> { | |
| public void defineTransition(S oldState, E event, S newState, Action<T> action); | |
| public void consumeEvent(E event); | |
| public S getState(); | |
| public void setState(S newState); | |
| } | |
| public class Program | |
| { | |
| public static void Main() | |
| { | |
| Console.WriteLine("Hello World"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment