summaryrefslogtreecommitdiff
path: root/src/beingmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/beingmanager.h')
-rw-r--r--src/beingmanager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/beingmanager.h b/src/beingmanager.h
index 05821bcf..109564fa 100644
--- a/src/beingmanager.h
+++ b/src/beingmanager.h
@@ -92,7 +92,8 @@ class BeingManager
/**
* Finds a being by name and (optionally) by type.
*/
- Being *findBeingByName(std::string name, Being::Type type = Being::UNKNOWN);
+ Being *findBeingByName(const std::string &name,
+ Being::Type type = Being::UNKNOWN);
/**
* Returns a being nearest to another being.
@@ -106,7 +107,7 @@ class BeingManager
/**
* Returns the whole list of beings
*/
- Beings& getAll();
+ Beings &getAll();
/**
* Returns true if the given being is in the manager's list, false
@@ -114,7 +115,7 @@ class BeingManager
*
* \param being the being to search for
*/
- bool hasBeing(Being *being);
+ bool hasBeing(Being *being) const;
/**
* Logic.