//=========================================================================
- void Observable::notifyObservers()
+ void Observable::notifyObservers(int idController,int command)
{
if(_changed)
{
int i;
-
for(i=0;i<_observers.size();i++)
{
- _observers[i]->update();
+ _observers[i]->update(idController,command);
}
_changed=false;
}