Stash bunch of broken generated test with shitty broken mocking

This commit is contained in:
2025-01-22 00:40:31 +01:00
parent 84d63ba4c1
commit 75eff6c5ad
13 changed files with 927 additions and 14 deletions

15
game/mock/raylib.go Normal file
View File

@ -0,0 +1,15 @@
package mock
import (
rl "github.com/gen2brain/raylib-go/raylib"
)
var (
IsKeyPressed func(key int32) bool
IsKeyDown func(key int32) bool
IsMouseButtonPressed func(button int32) bool
GetMousePosition func() rl.Vector2
GetMouseRay func(mousePos rl.Vector2, camera rl.Camera3D) rl.Ray
GetMouseWheelMove func() float32
GetCharPressed func() rune
)