space tab eemm .d
This commit is contained in:
parent
278938aa54
commit
6cb4f735e4
2
bf.go
2
bf.go
|
@ -11,7 +11,7 @@ const (
|
|||
screenWidth = 1280
|
||||
screenHeight = 720
|
||||
ballRadius = 12
|
||||
debug = false
|
||||
debug = false
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -16,10 +16,10 @@ func checkValid(something any) bool {
|
|||
}
|
||||
|
||||
func makeDefault(variable *map[string]interface{}, Type string) {
|
||||
switch Type {
|
||||
switch Type {
|
||||
case "color": (*variable)[Type] = "000000"
|
||||
default: panic(fmt.Sprint("\"", Type, "\" isn't a type!"))
|
||||
}
|
||||
default: panic(fmt.Sprint("\"", Type, "\" isn't a type!"))
|
||||
}
|
||||
}
|
||||
|
||||
func checkUserDataValid(userdata map[string]interface{}) {
|
||||
|
|
Loading…
Reference in New Issue