Fix bug in detecting which room you are in
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{-# LANGUAGE StrictData #-}
|
||||
{- | GameRooms contain information about given positions in the world
|
||||
-}
|
||||
module Dodge.GameRoom
|
||||
@@ -7,4 +8,6 @@ import Geometry
|
||||
data GameRoom = GameRoom
|
||||
{ _grViewpoints :: [Point2]
|
||||
, _grBound :: [Point2]
|
||||
, _grDir :: Float -- ^ gives direction of room
|
||||
, _grName :: String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user