INNER CODE UNIT · Go

Valid

yohamta0/donburi-ecs · entry.go:65

func Valid(e *Entry) bool {
	if e == nil {
		return false
	}
	return e.Valid()
}

// Id returns the entity id.
func (e *Entry) Id() storage.EntityId {
	return e.id
}

// Entity returns the entity.
func (e *Entry) Entity() Entity {
	return e.entity
}

// Component returns the component.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…