mapgen moving to delanay -> minimum spanning tree for rooms connection
This commit is contained in:
17
prefab_test.go
Normal file
17
prefab_test.go
Normal file
@ -0,0 +1,17 @@
|
||||
package alchemyst_go
|
||||
|
||||
import (
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/gamemap"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestPrefabLoad(t *testing.T) {
|
||||
|
||||
testFile, err := gamemap.LoadPrefabFile("./assets/prefabs/test.json")
|
||||
if err!= nil {
|
||||
t.Log(err)
|
||||
t.Fail()
|
||||
}
|
||||
t.Log(testFile)
|
||||
|
||||
}
|
Reference in New Issue
Block a user