Schnittstelle IEntityComponent<E>
- Typparameter:
E- is the type of the entity aIEntityComponentcan belong to.
- Alle bekannten Unterschnittstellen:
IAbstractBackReference<E>,IAbstractReference<E>,IAbstractValue<V>,IBackReference<E>,IField,IMultiBackReference<E>,IMultiReference<E>,IMultiValue<V>,IOptionalBackReference<E>,IOptionalReference<E>,IOptionalValue<V>,IReference<E>,IValue<V>
- Alle bekannten Implementierungsklassen:
AbstractBackReference,AbstractField,AbstractReference,AbstractValue,BackReference,MultiBackReference,MultiReference,MultiValue,OptionalBackReference,OptionalReference,OptionalValue,Reference,Value
public interface IEntityComponent<E>
A
IEntityComponent can belong to an entity.- Version:
- 2024-12-14
- Autor:
- Silvan Wyss
-
Methodenübersicht
-
Methodendetails
-
belongsToEntity
boolean belongsToEntity()- Gibt zurück:
- true if the current
IEntityComponentbelongs to an entity, false otherwise.
-
getStoredParentEntity
E getStoredParentEntity()- Gibt zurück:
- the entity of the current
IEntityComponent. - Löst aus:
RuntimeException- if the currentIEntityComponentdoes not belong to an entity.
-