diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 00:11:54 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 17:54:12 +0200 |
commit | 1e1f619b9ae5aa26058c499c988f45d1fb1b6d53 (patch) | |
tree | 1fe58c53388054ced122b5327e33fc2851a0606a /src/actorsprite.cpp | |
parent | 30d4b0adf4f17f05d1d62fc3428c896ef1079b6b (diff) | |
download | mana-1e1f619b9ae5aa26058c499c988f45d1fb1b6d53.tar.gz mana-1e1f619b9ae5aa26058c499c988f45d1fb1b6d53.tar.bz2 mana-1e1f619b9ae5aa26058c499c988f45d1fb1b6d53.tar.xz mana-1e1f619b9ae5aa26058c499c988f45d1fb1b6d53.zip |
Moved Channels to Mana::Event::Channel
Acked-by: Jared Adams
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r-- | src/actorsprite.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp index ea2b61c9..fdf6defd 100644 --- a/src/actorsprite.cpp +++ b/src/actorsprite.cpp @@ -62,7 +62,7 @@ ActorSprite::~ActorSprite() // Notify listeners of the destruction. Mana::Event event(Mana::Event::Destroyed); event.setActor("source", this); - event.trigger(CHANNEL_ACTORSPRITE); + event.trigger(Mana::Event::ActorSpriteChannel); } bool ActorSprite::draw(Graphics *graphics, int offsetX, int offsetY) const @@ -259,7 +259,7 @@ void ActorSprite::updateStunMode(int oldMode, int newMode) Mana::Event event(Mana::Event::Stun); event.setInt("oldMode", oldMode); event.setInt("newMode", newMode); - event.trigger(CHANNEL_ACTORSPRITE); + event.trigger(Mana::Event::ActorSpriteChannel); } handleStatusEffect(StatusEffect::getStatusEffect(oldMode, false), -1); @@ -273,7 +273,7 @@ void ActorSprite::updateStatusEffect(int index, bool newStatus) Mana::Event event(Mana::Event::UpdateStatusEffect); event.setInt("index", index); event.setBool("newStatus", newStatus); - event.trigger(CHANNEL_ACTORSPRITE); + event.trigger(Mana::Event::ActorSpriteChannel); } handleStatusEffect(StatusEffect::getStatusEffect(index, newStatus), index); |