1
0
forked from MTSR/mapserver
mapserver/types/parsedmapblock.go

15 lines
287 B
Go
Raw Normal View History

package types
import (
"github.com/minetest-go/mapparser"
)
type ParsedMapblock struct {
Mapblock *mapparser.MapBlock
2023-12-29 18:00:11 +03:00
Pos *MapBlockCoords
}
2023-12-29 18:00:11 +03:00
func NewParsedMapblock(mb *mapparser.MapBlock, pos *MapBlockCoords) *ParsedMapblock {
return &ParsedMapblock{Mapblock: mb, Pos: pos}
}