class BountyCollectedNotificationQueue extends gameuiGenericNotificationGameController
{
	protected editable var m_duration : Float;
	default m_duration = 2.0f;
	private var m_bountyNotification : CName;
	default m_bountyNotification = 'notification_bounty';

	public function PushNotification()
	{
		var notificationData : gameuiGenericNotificationData;
		notificationData.time = m_duration;
		notificationData.widgetLibraryItemName = m_bountyNotification;
		notificationData.notificationData = new BountyCollectedNotificationViewData;
		AddNewNotificationData( notificationData );
	}

	protected event OnBountyCompletionEvent( evt : BountyCompletionEvent )
	{
		PushNotification();
	}

}

class BountyCollectedNotificationViewData extends GenericNotificationViewData
{

	public override function CanMerge( data : GenericNotificationViewData ) : Bool
	{
		return false;
	}

}

class BountyCollectedNotification extends GenericNotificationController
{
	private editable var m_bountyCollectedUpdateAnimation : CName;

	public override function SetNotificationData( notificationData : GenericNotificationViewData )
	{
		PlayLibraryAnimation( m_bountyCollectedUpdateAnimation );
		super.SetNotificationData( notificationData );
	}

}

