first commit

This commit is contained in:
cuu
2018-06-05 23:56:48 +08:00
commit 26f18da0d8
11 changed files with 989 additions and 0 deletions

9
gogame/rect/rect.go Normal file
View File

@@ -0,0 +1,9 @@
package rect
import (
"github.com/veandco/go-sdl2/sdl"
)
func Rect(top ,left, width,height int32) sdl.Rect {
return sdl.Rect{top,left,width,height}
}