MCPcopy Create free account
hub / github.com/EngoEngine/engo / getProperties

Function getProperties

common/tmx_level.go:404–414  ·  view source on GitHub ↗
(props []tmx.Property)

Source from the content-addressed store, hash-verified

402}
403
404func getProperties(props []tmx.Property) []Property {
405 ret := make([]Property, 0)
406 for _, p := range props {
407 ret = append(ret, Property{
408 Name: p.Name,
409 Type: p.Type,
410 Value: p.Value,
411 })
412 }
413 return ret
414}

Callers 1

createLevelFromTmxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected