mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-10-31 17:06:50 +08:00 
			
		
		
		
	Adding new API for gesture detection on Game class
This commit is contained in:
		 Erick Zanardo
					Erick Zanardo
				
			
				
					committed by
					
						 Erick (CptBlackPixel)
						Erick (CptBlackPixel)
					
				
			
			
				
	
			
			
			 Erick (CptBlackPixel)
						Erick (CptBlackPixel)
					
				
			
						parent
						
							8852e7a07a
						
					
				
				
					commit
					4dcb32b107
				
			| @ -113,6 +113,8 @@ class Util { | ||||
|   /// This properly binds a gesture recognizer to your game. | ||||
|   /// | ||||
|   /// Use this in order to get it to work in case your app also contains other widgets. | ||||
|   /// | ||||
|   /// @Deprecated('This method can lead to confuse behaviour, use the gestures methods provided by the Game class') | ||||
|   void addGestureRecognizer(GestureRecognizer recognizer) { | ||||
|     if (GestureBinding.instance == null) { | ||||
|       throw Exception( | ||||
|  | ||||
		Reference in New Issue
	
	Block a user