func (e *Entity) FindProperty(name string) *Property {
	var prop *Property
	for i := range e.props {
		if e.props[i].entry.name == name {
			if prop != nil {
				panic(fmt.Sprintf("More than one property with name %q found", name))
			}
			prop = &e.props[i]
		}
	}
	return prop
}
// FindProperty finds a property on the Entity by name.
//
// Returns nil if the property wasn't found.
//
// Panics if more than one property with the same name was found.
FindProperty finds a property on the Entity by name.

Returns nil if the property wasn't found.

Panics if more than one property with the same name was found.
// FindProperty finds a property on the Entity by name . // // Returns nil if the property wasn ' t found . // // Panics if more than one property with the same name was found .
func (e *Entity) FindProperty(name string) *Property {
	var prop *Property
	for i := range e.props {
		if e.props[i].entry.name == name {
			if prop != nil {
				panic(fmt.Sprintf("More than one property with name %q found", name))
			}
			prop = &e.props[i]
		}
	}
	return prop
}
func ( e * Entity ) FindProperty ( name string ) * Property { var prop * Property for i := range e . props { if e . props [ i ] . entry . name == name { if prop != nil { panic ( fmt . Sprintf ( " " , name ) ) } prop = & e . props [ i ] } } return prop }
FindProperty finds a property on the Entity by name.
FindProperty finds a property on the Entity by name .