- Events are now sent to GameObserver rather than ActionLayer
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-06-13 03:49:52 +00:00
parent 9be451e134
commit dd56962910
8 changed files with 22 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ int Damage::resolve(){
//Send Damage event to listeners
WEventDamage * e = NEW WEventDamage(this);
GameObserver::GetInstance()->mLayers->actionLayer()->receiveEvent(e);
GameObserver::GetInstance()->receiveEvent(e);
delete e;
return a;