mapgen moving to delanay -> minimum spanning tree for rooms connection

This commit is contained in:
2019-11-11 01:47:16 +03:00
parent b734e538f4
commit e30aa33715
16 changed files with 380 additions and 73 deletions

17
prefab_test.go Normal file
View 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)
}