Package org.alban098.common
Class Entity
java.lang.Object
org.alban098.common.Entity
Main Entity interface for all Engine2J modules
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(Component component) Returns theTransformenabling the object to be placed, can be null (TransformUtils.getNullTransformBuffer()will be used instead)
-
Field Details
-
transform
-
components
-
-
Constructor Details
-
Entity
public Entity(org.joml.Vector2f position, org.joml.Vector2f scale, float rotation)
-
-
Method Details
-
getTransform
Returns theTransformenabling the object to be placed, can be null (TransformUtils.getNullTransformBuffer()will be used instead)- Returns:
- the
Transformenabling the object to be placed, can be null
-
addComponent
-
getComponents
-