public abstract class EntityEditor<T extends EntityEditor> extends Object
| Constructor and Description |
|---|
EntityEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends com.artemis.Component> |
add(Class<T> componentType) |
T |
angle(float rotation) |
T |
angle(int rotation,
int ox,
int oy) |
T |
anim(String id) |
T |
bounds(int minx,
int miny,
int maxx,
int maxy) |
com.artemis.Entity |
build() |
protected T |
createEntity(com.artemis.World world) |
protected T |
editEntity(com.artemis.Entity entity) |
T |
font(String name) |
T |
label(String text) |
T |
physics() |
T |
pos(float x,
float y) |
T |
pos(int x,
int y) |
T |
renderable(int layer) |
T |
scale(float scale) |
T |
tint(float r,
float g,
float b,
float a) |
T |
tint(String hex) |
T |
tint(Tint value) |
T |
with(Class<? extends com.artemis.Component>... components)
Add artemis managed components to entity.
|
T |
with(Class<? extends com.artemis.Component> component)
Add artemis managed components to entity.
|
T |
with(Class<? extends com.artemis.Component> component1,
Class<? extends com.artemis.Component> component2)
Add artemis managed components to entity.
|
T |
with(Class<? extends com.artemis.Component> component1,
Class<? extends com.artemis.Component> component2,
Class<? extends com.artemis.Component> component3)
Add artemis managed components to entity.
|
T |
with(Class<? extends com.artemis.Component> component1,
Class<? extends com.artemis.Component> component2,
Class<? extends com.artemis.Component> component3,
Class<? extends com.artemis.Component> component4)
Add artemis managed components to entity.
|
T |
with(Class<? extends com.artemis.Component> component1,
Class<? extends com.artemis.Component> component2,
Class<? extends com.artemis.Component> component3,
Class<? extends com.artemis.Component> component4,
Class<? extends com.artemis.Component> component5)
Add artemis managed components to entity.
|
protected T editEntity(com.artemis.Entity entity)
protected final T createEntity(com.artemis.World world)
public final T pos(float x, float y)
public final T pos(int x, int y)
public final T bounds(int minx, int miny, int maxx, int maxy)
protected final <T extends com.artemis.Component> T add(Class<T> componentType)
public final T renderable(int layer)
public final T angle(float rotation)
public final T angle(int rotation, int ox, int oy)
public com.artemis.Entity build()
public final T with(Class<? extends com.artemis.Component> component)
public final T with(Class<? extends com.artemis.Component> component1, Class<? extends com.artemis.Component> component2)
public final T with(Class<? extends com.artemis.Component> component1, Class<? extends com.artemis.Component> component2, Class<? extends com.artemis.Component> component3)
public final T with(Class<? extends com.artemis.Component> component1, Class<? extends com.artemis.Component> component2, Class<? extends com.artemis.Component> component3, Class<? extends com.artemis.Component> component4)
public final T with(Class<? extends com.artemis.Component> component1, Class<? extends com.artemis.Component> component2, Class<? extends com.artemis.Component> component3, Class<? extends com.artemis.Component> component4, Class<? extends com.artemis.Component> component5)
public final T with(Class<? extends com.artemis.Component>... components)
public final T physics()
public final T tint(float r, float g, float b, float a)
public final T scale(float scale)
Copyright © 2017. All rights reserved.