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