示例#1
0
//Saves the generator's settings to the world's storage
func (sf *SuperFlat) Load(w *world.World) {
	var sav savableGenerator
	w.Read(saveKey, &sav)
	sf.parseString(sav.GenerationCode)
}