summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index f19e3df4..6831d5ad 100644
--- a/src/being.h
+++ b/src/being.h
@@ -450,6 +450,11 @@ class Being : public ActorSprite, public Mana::Listener
void setMap(Map *map);
+ /**
+ * Make the being look at a given pixel position.
+ */
+ void lookAt(const Vector &destPos);
+
protected:
/**
* Sets the new path for this being.