diff options
author | Griffin Smith <root@gws.fyi> | 2019-11-29T20·43-0500 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-11-30T02·25-0500 |
commit | 0abcd8c9581f0017cb2bd59a09e93800ea8f3b1f (patch) | |
tree | 0dab0269ec6c08df6eef8f124aca2f8076c9e040 /src/Xanthous/Resource.hs | |
parent | f37d0f75c0b4a77c8e35192c24c6fdb6f2bc4619 (diff) |
Implement a "look" command
Implement the PointOnMap prompt type, which allows the player to move the cursor around and select a position on the map, and use this prompt type to implement a "look" command, describing all entities at the selected position.
Diffstat (limited to 'src/Xanthous/Resource.hs')
-rw-r--r-- | src/Xanthous/Resource.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Xanthous/Resource.hs b/src/Xanthous/Resource.hs index 13f7e539679b..5350e7646e38 100644 --- a/src/Xanthous/Resource.hs +++ b/src/Xanthous/Resource.hs @@ -16,6 +16,7 @@ data Name = MapViewport | MessageBox -- ^ The box where we display messages to the user | Prompt + -- ^ The game's prompt deriving stock (Show, Eq, Ord, Generic) deriving anyclass (NFData, CoArbitrary, Function) |