some class color improvements

This commit is contained in:
Andre Antunes
2011-08-27 20:16:23 -03:00
parent f019818423
commit aeaa843fae
2 changed files with 33 additions and 17 deletions

View File

@@ -37,7 +37,7 @@ void EventDispatcher::scheduleEvent(const SimpleCallback& callback, int delay)
m_scheduledEventList.push(ScheduledEvent(g_platform.getTicks() + delay, callback));
}
void EventDispatcher::addEvent(const SimpleCallback& callback, bool pushFront)
void EventDispatcher::addEvent(const SimpleCallback& callback, bool pushFront /* = false */)
{
if(pushFront)
m_eventList.push_front(callback);