T - Type of vector, either 2D or 3D, implementing the Vector interfacepublic class SlotAssignment<T extends com.badlogic.gdx.math.Vector<T>>
extends java.lang.Object
SlotAssignment instance represents the assignment of a single FormationMember to its slot in the
Formation.| Modifier and Type | Field and Description |
|---|---|
FormationMember<T> |
member |
int |
slotNumber |
| Constructor and Description |
|---|
SlotAssignment(FormationMember<T> member)
Creates a
SlotAssignment for the given member. |
SlotAssignment(FormationMember<T> member,
int slotNumber)
Creates a
SlotAssignment for the given member and slotNumber. |
public FormationMember<T extends com.badlogic.gdx.math.Vector<T>> member
public int slotNumber
public SlotAssignment(FormationMember<T> member)
SlotAssignment for the given member.member - the member of this slot assignmentpublic SlotAssignment(FormationMember<T> member, int slotNumber)
SlotAssignment for the given member and slotNumber.member - the member of this slot assignment