1
0
forked from MTSR/mapserver
mapserver/server/mapobject/atm.go

13 lines
264 B
Go
Raw Normal View History

2019-02-15 13:25:49 +03:00
package mapobject
import (
"mapserver/mapblockparser"
"mapserver/mapobjectdb"
)
type ATM struct{}
func (this *ATM) onMapObject(x, y, z int, block *mapblockparser.MapBlock) *mapobjectdb.MapObject {
return mapobjectdb.NewMapObject(block.Pos, x, y, z, "atm")
}