diff options
Diffstat (limited to 'book/examples/chapter7/Map.gf')
| -rw-r--r-- | book/examples/chapter7/Map.gf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/book/examples/chapter7/Map.gf b/book/examples/chapter7/Map.gf new file mode 100644 index 000000000..52deebb87 --- /dev/null +++ b/book/examples/chapter7/Map.gf @@ -0,0 +1,10 @@ +abstract Map = { +flags startcat = Query ; +cat + Query ; Input ; Place ; Click ; +fun + GoFromTo : Place -> Place -> Input ; + ThisPlace : Click -> Place ; + QueryInput : Input -> Query ; + ClickCoord : Int -> Int -> Click ; +} |
