@Wire
public class AttachmentSystem
extends com.artemis.systems.IteratingSystem
Attached| Constructor and Description |
|---|
AttachmentSystem() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
process(int e) |
void |
push(Attached attached,
float rotation,
float force)
Apply force on joint, pushing the attached entity out of place.
|
void |
push(com.artemis.Entity entity,
float rotation,
float force)
Apply force on joint, pushing the attached entity out of place.
|
protected void |
updateSlack(Attached attached)
Slack, like weapon recoil on the joint.
|
getEntityIds, getSubscription, inserted, inserted, removed, removed, setWorldprotected void process(int e)
process in class com.artemis.systems.IteratingSystempublic void push(com.artemis.Entity entity,
float rotation,
float force)
entity - Entity to pushrotation - Direction of forceforce - strength of force (don't factor in delta).public void push(Attached attached, float rotation, float force)
attached - Attached component of entity to pushrotation - Direction of forceforce - strength of force (don't factor in delta).protected void updateSlack(Attached attached)
attached - Copyright © 2017. All rights reserved.