Source codeContentsIndex
CItem
Description
Objects with a name and an icon (used for several purposes).
Synopsis
class (Eq c) => CItem c where
getName :: c -> IO Name
getIcon :: c -> IO Image
Documentation
class (Eq c) => CItem c where
Objects with a name and an icon.
Methods
getName :: c -> IO Name
Gets the object's name.
getIcon :: c -> IO Image
Gets the object's icon.
Instances
(CItem c) => CItem (Item c)
Produced by Haddock version 0.3