Schnittstelle IEntityComponent<E>

Typparameter:
E - is the type of the entity a IEntityComponent can belong to.
Alle bekannten Unterschnittstellen:
IAbstractBackReference<E>, IAbstractReference<E>, IAbstractValueField<V>, IBackReference<E>, IField, IMultiBackReference<E>, IMultiReference<E>, IMultiValueField<V>, IOptionalBackReference<E>, IOptionalReference<E>, IOptionalValueField<V>, IReference<E>, IValueField<V>
Alle bekannten Implementierungsklassen:
AbstractBackReference, AbstractField, AbstractReference, AbstractValueField, BackReference, MultiBackReference, MultiReference, MultiValueField, OptionalBackReference, OptionalReference, OptionalValueField, Reference, ValueField

public interface IEntityComponent<E>
A IEntityComponent can belong to an entity.
Version:
2024-12-14
Autor:
Silvan Wyss
  • Methodendetails

    • belongsToEntity

      boolean belongsToEntity()
      Gibt zurück:
      true if the current IEntityComponent belongs to an entity, false otherwise.
    • getStoredParentEntity

      E getStoredParentEntity()
      Gibt zurück:
      the entity of the current IEntityComponent.
      Löst aus:
      RuntimeException - if the current IEntityComponent does not belong to an entity.