22 lines
757 B
Text
22 lines
757 B
Text
|
|
|||
|
// dot -Tpng -Gcharset=latin1 state_graph.dot -o states.png
|
|||
|
|
|||
|
digraph StateMachine {
|
|||
|
node [style=rounded, shape=box, fontname="Helvetica"];
|
|||
|
edge [fontsize=9, fontname="Helvetica"];
|
|||
|
|
|||
|
Start [shape=plaintext];
|
|||
|
Ende [shape=plaintext];
|
|||
|
|
|||
|
Start -> "Hauptmen<65>";
|
|||
|
"Hauptmen<65>" -> Ende [label="Spiel beenden"];
|
|||
|
"Hauptmen<65>" -> Spielerwahl [label="Neues Spiel",labelfontsize=4.0];
|
|||
|
"Hauptmen<65>" -> Credits [label="Credits"];
|
|||
|
Credits -> "Hauptmen<65>" [label="Zur<75>ck"];
|
|||
|
Spielerwahl -> "Hauptmen<65>" [label="Zur<75>ck"];
|
|||
|
Spielerwahl -> "Spiel l<>uft" [label="1/2/3 Spieler"];
|
|||
|
"Spiel l<>uft" -> "Spiel wirklich beenden?" [label="ESC, F10"];
|
|||
|
"Spiel wirklich beenden?" -> "Hauptmen<65>" [label="Ja"];
|
|||
|
"Spiel wirklich beenden?" -> "Spiel l<>uft" [label="Nein"];
|
|||
|
}
|