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