Uses of Class
moise.oe.RolePlayer
-
Packages that use RolePlayer Package Description moise.oe -
-
Uses of RolePlayer in moise.oe
Fields in moise.oe declared as RolePlayer Modifier and Type Field Description (package private) RolePlayer
Permission. rp
Fields in moise.oe with type parameters of type RolePlayer Modifier and Type Field Description protected java.util.Set<RolePlayer>
GroupInstance. players
protected java.util.Map<java.lang.String,RolePlayer>
OEAgent. roles
Methods in moise.oe that return RolePlayer Modifier and Type Method Description RolePlayer
OEAgent. adoptRole(java.lang.String roleId, java.lang.String grId)
adds a role for an agent.RolePlayer
OEAgent. adoptRole(java.lang.String roleId, GroupInstance gr)
adds a role for an agent.RolePlayer
Permission. getRolePlayer()
RolePlayer
OEAgent. playsRole(java.lang.String roleId, GroupInstance gr)
returns an object representing the roleId played by this agent in the group gr.RolePlayer
OEAgent. removeRole(java.lang.String roleId, java.lang.String grId)
removes a role from an agent.RolePlayer
OEAgent. removeRole(java.lang.String roleId, GroupInstance gr)
removes a role from an agent.Methods in moise.oe that return types with arguments of type RolePlayer Modifier and Type Method Description java.util.Collection<RolePlayer>
GroupInstance. getPlayers()
returns an iterator for RolePlayer objectsjava.util.Collection<RolePlayer>
GroupInstance. getPlayers(java.lang.String roleId, boolean includeSubGroups)
returns the roleId players in this group (includeSubGroups==false) or in this group and its subgroups (includeSubGroups==true).java.util.Collection<RolePlayer>
OEAgent. getRoles()
returns an Iterator for RolePlayers objectsjava.util.Collection<RolePlayer>
OEAgent. playsRole(GroupInstance gr)
returns a collection of RolePlayer objects representing the roles this agent plays in the group grMethods in moise.oe with parameters of type RolePlayer Modifier and Type Method Description void
OEAgent. abortRole(RolePlayer rp)
removes a role of an agent without checkingvoid
GroupInstance. addPlayer(RolePlayer rp)
adds a role player in this groupvoid
GroupInstance. removePlayer(RolePlayer rp)
removes a role player from this groupConstructors in moise.oe with parameters of type RolePlayer Constructor Description Permission(RolePlayer rp, Mission mis, SchemeInstance sch)
-