From 9256c976edec462af26f33317df6171045e68aa5 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 25 Jan 2020 11:18:32 -0500 Subject: Factor out an "entitiesAtCharacter" lens Factor an "entitiesAtCharacter" lens from the one-two step of getting the character position, then getting the entities at that position. --- src/Xanthous/Game.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Xanthous/Game.hs') diff --git a/src/Xanthous/Game.hs b/src/Xanthous/Game.hs index a8d096f02fc0..4ca668891971 100644 --- a/src/Xanthous/Game.hs +++ b/src/Xanthous/Game.hs @@ -16,6 +16,7 @@ module Xanthous.Game , characterPosition , updateCharacterVision , characterVisiblePositions + , entitiesAtCharacter -- * Messages , MessageHistory(..) -- cgit 1.4.1