summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/actorsprite.cpp3
-rw-r--r--src/being/actorspritelistener.h44
-rw-r--r--src/being/localplayer.h2
3 files changed, 3 insertions, 46 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index 1426e481e..a74f4f477 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -25,11 +25,12 @@
#include "imagesprite.h"
#include "statuseffect.h"
-#include "being/actorspritelistener.h"
#include "being/localplayer.h"
#include "gui/theme.h"
+#include "listeners/actorspritelistener.h"
+
#include "resources/resourcemanager.h"
#include "utils/checkutils.h"
diff --git a/src/being/actorspritelistener.h b/src/being/actorspritelistener.h
deleted file mode 100644
index c89495c85..000000000
--- a/src/being/actorspritelistener.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * The ManaPlus Client
- * Copyright (C) 2010 The Mana Developers
- * Copyright (C) 2011-2014 The ManaPlus Developers
- *
- * This file is part of The ManaPlus Client.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef BEING_ACTORSPRITELISTENER_H
-#define BEING_ACTORSPRITELISTENER_H
-
-class ActorSprite;
-
-class ActorSpriteListener
-{
- public:
- /**
- * Destructor.
- */
- virtual ~ActorSpriteListener()
- { }
-
- /**
- * Called when the ActorSprite has been destroyed. The listener will
- * have to be registered first.
- * @param actorSprite the ActorSprite being destroyed.
- */
- virtual void actorSpriteDestroyed(const ActorSprite &actorSprite) = 0;
-};
-
-#endif // BEING_ACTORSPRITELISTENER_H
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index ce501bcec..5664b03b6 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -25,12 +25,12 @@
#include "listeners/depricatedlistener.h"
-#include "being/actorspritelistener.h"
#include "being/being.h"
#include "gui/userpalette.h"
#include "listeners/actionlistener.h"
+#include "listeners/actorspritelistener.h"
#include <vector>