Пример #1
0
	void Event::Fire(Ammo& ammo) const
	{
		if (_target)
		{
			ammo.userData = _userData;
			_target(ammo);
		}
	}
Пример #2
0
void Timer::invoke(const boost::posix_time::ptime& scheduled_at, const boost::posix_time::ptime& now)
{
	_target(now);
}
Пример #3
0
	void Observer::Update(const NotificationArgs* args)
	{
		_target(args);
	}