summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r--src/actorspritemanager.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/actorspritemanager.h b/src/actorspritemanager.h
index 8ff9ff39..76364ea5 100644
--- a/src/actorspritemanager.h
+++ b/src/actorspritemanager.h
@@ -67,10 +67,15 @@ class ActorSpriteManager
FloorItem *createItem(int id, int itemId, const Vector &position);
/**
+ * Immediately destroys the given \a actor.
+ */
+ void destroyActor(ActorSprite *actor);
+
+ /**
* Destroys the given ActorSprite at the end of
* ActorSpriteManager::logic.
*/
- void destroy(ActorSprite *actor);
+ void scheduleDelete(ActorSprite *actor);
/**
* Returns a specific Being, by id;