mirror of
				https://github.com/yeslayla/golang-game-framework.git
				synced 2025-11-04 08:43:06 +01:00 
			
		
		
		
	Upgrade sdl version, implement embed rendering, and more!
This commit is contained in:
		@ -1,8 +1,8 @@
 | 
			
		||||
package input
 | 
			
		||||
 | 
			
		||||
type InputHandler interface {
 | 
			
		||||
	IsKeyDown(uint) bool
 | 
			
		||||
	IsKeyJustPressed(uint) bool
 | 
			
		||||
	IsKeyJustReleased(uint) bool
 | 
			
		||||
	IsKeyDown(uint32) bool
 | 
			
		||||
	IsKeyJustPressed(uint32) bool
 | 
			
		||||
	IsKeyJustReleased(uint32) bool
 | 
			
		||||
	Update(delta float64) error
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user