jalse.entities.annotations.GetEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JALSE Show documentation
Show all versions of JALSE Show documentation
Java Artificial Life Simulation Engine
package jalse.entities.annotations;
import jalse.entities.Entity;
import jalse.entities.EntityContainer;
import jalse.entities.functions.GetEntityFunction;
import jalse.entities.methods.GetEntityMethod;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.UUID;
/**
* An {@link Entity} type annotation for:
*
* - {@link EntityContainer#getEntityAsType(UUID, Class)}
* - {@link EntityContainer#getOptEntityAsType(UUID, Class)}
*
* See {@link GetEntityFunction} for acceptable method signatures.
*
* @author Elliot Ford
*
* @see GetEntityMethod
*
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface GetEntity {}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy