diff options
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r-- | src/actorspritemanager.h | 7 |
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; |