Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/info.h')
-rw-r--r--src/core/info.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/info.h b/src/core/info.h
index 8b9a89b..8822f2f 100644
--- a/src/core/info.h
+++ b/src/core/info.h
@@ -19,14 +19,14 @@ namespace core
{
/**
- * @brief an information record type
+ * @brief an information card category
* The InfoType groups information records of the same type
*/
class InfoType : public Label
{
public:
/**
- * @brief create a new information record type
+ * @brief create a new information card category
* The constructor automaticly adds the instance to the registry
*/
InfoType(const char* label);
@@ -49,7 +49,7 @@ private:
}; // class InfoType
/**
- * @brief an information record
+ * @brief an information card
* An information record holds extended information about a specific entity or item class.
* This information is exchanged between server and the client, and can be used to build
* HUD widgets.
@@ -61,19 +61,19 @@ public:
typedef std::deque<std::string> Text;
/**
- * @brief create a new server-side information record
+ * @brief create a new server-side information card
* This constructor assigns an id
*/
Info(const InfoType *type);
/**
- * @brief create a new client-side information record
+ * @brief create a new client-side information card
* This constructor doesn not assign an id
*/
Info(const InfoType *type, const std::string & label);
/**
- * @brief create a new client-side information record
+ * @brief create a new client-side information card
*/
Info(const unsigned int id);
@@ -107,7 +107,7 @@ public:
}
/// text description
- inline Text & text() {
+ inline const Text & text() const {
return info_text;
}