| |||||||||
| |||||||||
Description | |||||||||
Utils for rooms. | |||||||||
Synopsis | |||||||||
| |||||||||
Documentation | |||||||||
isRoom :: RoomId -> Object -> Bool | |||||||||
Checks if some object is a Room with a specific RoomId. | |||||||||
roomId :: Object -> RoomId | |||||||||
Get the RoomId from a room. | |||||||||
roomInventory :: Object -> [ItemId] | |||||||||
Get the inventory of a room. | |||||||||
roomAddItem :: ItemId -> Object -> Object | |||||||||
Add an item to a room. | |||||||||
roomRemoveItem :: ItemId -> Object -> Object | |||||||||
Remove an item from a room. | |||||||||
Produced by Haddock version 0.7 |