summaryrefslogtreecommitdiff
path: root/src/actorspritelistener.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-08-15 21:28:10 -0600
committerJared Adams <jaxad0127@gmail.com>2010-08-16 13:19:09 -0600
commitd8d9232a67a03548b827bdb0515fe7a620a488f8 (patch)
treed6e0644f99e0ff89f9b320c0b479ba5a4e398125 /src/actorspritelistener.h
parenta6c2b90c2dabac18ad8052d948bc540406b3a613 (diff)
downloadmana-client-d8d9232a67a03548b827bdb0515fe7a620a488f8.tar.gz
mana-client-d8d9232a67a03548b827bdb0515fe7a620a488f8.tar.bz2
mana-client-d8d9232a67a03548b827bdb0515fe7a620a488f8.tar.xz
mana-client-d8d9232a67a03548b827bdb0515fe7a620a488f8.zip
Move more to the event system
Most of Net::InventoryHandler is now done through events. The ActorSpriteManager was also replaced by events. A few odds and ends were taken care of too. Reviewed-by: Bertram
Diffstat (limited to 'src/actorspritelistener.h')
-rw-r--r--src/actorspritelistener.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/actorspritelistener.h b/src/actorspritelistener.h
deleted file mode 100644
index 994494f4..00000000
--- a/src/actorspritelistener.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * The Mana Client
- * Copyright (C) 2010 The Mana Developers
- *
- * This file is part of The Mana 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 ACTORSPRITELISTENER_H
-#define 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 // ACTORSPRITELISTENER_H