public class PositionalGroupMember extends GroupMember
Modifier and Type | Field and Description |
---|---|
Point |
lastLoc
The last interpolated location of the world node.
|
java.util.Set<PositionalGroupMember> |
membersInRadius
The set of GroupMembers within the audible radius of this member
|
java.util.Set<OID> |
perceivedOids
The set of object oids perceived by this member.
|
Point |
previousLoc
The previous interpolated location of the entity, used to
detect if the entity has moved.
|
InterpolatedWorldNode |
wnode
The world node for this group member.
|
allowedSpeaker, currentSpeaker, expunged, group, index, indexCounter, listening, memberCon, memberOid, priority, priorityIndex, voiceNumber
Constructor and Description |
---|
PositionalGroupMember(VoiceGroup group,
OID memberOid,
int priority,
boolean allowedSpeaker,
boolean currentSpeaker,
VoiceConnection memberCon,
int maxVoiceChannels)
PositionalGroupMember constructor
|
Modifier and Type | Method and Description |
---|---|
Point |
getCurrentLoc()
Return the member's current location, or null, if he has none.
|
OID |
getInstanceOid()
Return the instance oid, if the member has a wnode.
|
addIgnoredSpeakerOids, applyIgnoreUpdateMessage, findFreeVoiceNumber, findVoiceNumberForSpeaker, getExpunged, getGroup, getGroupOid, getMemberOid, getSpeakerForVoiceNumber, initializeIgnoredSpeakers, logString, membersListeningToSpeaker, nowListeningTo, removeIgnoredSpeakerOids, setExpunged, setSpeakerForVoiceNumber, speakerIgnored, toString, voiceCount
public InterpolatedWorldNode wnode
public Point lastLoc
public Point previousLoc
public java.util.Set<OID> perceivedOids
public java.util.Set<PositionalGroupMember> membersInRadius
public PositionalGroupMember(VoiceGroup group, OID memberOid, int priority, boolean allowedSpeaker, boolean currentSpeaker, VoiceConnection memberCon, int maxVoiceChannels)
group
- The group to which the member belongs.memberOid
- The oid of the new member.priority
- The speaking priority that the member should be
assigned; speakers with higher priorities will be heard over
speakers with lower priorities.allowedSpeaker
- True if the new member should be allowed
to speak; false otherwise.currentSpeaker
- True if the new member should be created speaking.memberCon
- The VoiceConnection object that embodies
the connection to the voice server.maxVoiceChannels
- The maximum number of simultaneous voice
channels going to any listener.public OID getInstanceOid()
public Point getCurrentLoc()