T - Type of vector, either 2D or 3D, implementing the Vector interfacepublic interface SlotAssignmentStrategy<T extends com.badlogic.gdx.math.Vector<T>>
FormationMember is assigned to a slot in the Formation.| Modifier and Type | Method and Description |
|---|---|
int |
calculateNumberOfSlots(com.badlogic.gdx.utils.Array<SlotAssignment<T>> assignments)
Calculates the number of slots from the assignment data.
|
void |
removeSlotAssignment(com.badlogic.gdx.utils.Array<SlotAssignment<T>> assignments,
int index)
Removes the slot assignment at the specified index.
|
void |
updateSlotAssignments(com.badlogic.gdx.utils.Array<SlotAssignment<T>> assignments)
Updates the assignment of members to slots
|
void updateSlotAssignments(com.badlogic.gdx.utils.Array<SlotAssignment<T>> assignments)
int calculateNumberOfSlots(com.badlogic.gdx.utils.Array<SlotAssignment<T>> assignments)
void removeSlotAssignment(com.badlogic.gdx.utils.Array<SlotAssignment<T>> assignments, int index)