BBGamelib.CCTouchDispatcher.sortByPriority C# (CSharp) 메소드

sortByPriority() 개인적인 메소드

private sortByPriority ( CCTouchHandler first, CCTouchHandler second ) : int
first CCTouchHandler
second CCTouchHandler
리턴 int
		int sortByPriority(CCTouchHandler first, CCTouchHandler second)
		{
			if (first.priority < second.priority)
				return -1;
			else if (first.priority > second.priority)
				return 1;
			else
				return 0;
		}