ContentsIndex
Util.Mobile
Description
Utils for Mobiles.
Synopsis
isMob :: MobId -> Object -> Bool
mobSetLocation :: RoomId -> Object -> Object
mobAddItem :: ItemId -> Object -> Object
mobRemoveItem :: ItemId -> Object -> Object
mobLocation :: Object -> RoomId
mobInventory :: Object -> [ItemId]
Documentation
isMob :: MobId -> Object -> Bool
Checks if some object is a Mobile with a specific MobileId.
mobSetLocation :: RoomId -> Object -> Object
Sets the location of a mobile.
mobAddItem :: ItemId -> Object -> Object
Adds an item to a mobiles inventory.
mobRemoveItem :: ItemId -> Object -> Object
Removes an item from a mobiles inventory.
mobLocation :: Object -> RoomId
Get the location of a mobile.
mobInventory :: Object -> [ItemId]
Get the inventory of a mobile.
Produced by Haddock version 0.7