| Package | Description |
|---|---|
| org.mini2Dx.ecs.component.screen | |
| org.mini2Dx.ecs.entity | |
| org.mini2Dx.ecs.physics |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ScreenComponent
A common interface for screen component implementations
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Component> |
UUIDEntity.removeAllComponentsOfType(Class<T> clazz)
Removes all
Components that implement a specific type |
<T extends Component> |
GameScreenEntity.removeAllComponentsOfType(Class<T> clazz) |
<T extends Component> |
Entity.removeAllComponentsOfType(Class<T> clazz)
Removes all
Components that implement a specific type |
| Modifier and Type | Method and Description |
|---|---|
void |
UUIDEntity.addComponent(Component component)
|
void |
GameScreenEntity.addComponent(Component component) |
void |
Entity.addComponent(Component component)
|
void |
EntityListener.componentAdded(Entity source,
Component component)
|
void |
EntityListener.componentRemoved(Entity source,
Component component)
|
void |
UUIDEntity.removeComponent(Component component)
Removes the specified
Component from this UUIDEntity |
void |
GameScreenEntity.removeComponent(Component component) |
void |
Entity.removeComponent(Component component)
|
| Modifier and Type | Class and Description |
|---|---|
class |
PositionTracker
Tracks the position of a
Body for calculating render coordinates |
Copyright © 2014. All rights reserved.