public class RoleManager extends java.lang.Object implements IRoleManager
Constructor and Description |
---|
RoleManager(IGlobalMap worldModel,
ITeamStrategy strategy)
This unit cares about the different roles and how they work together or
with each other.
|
Modifier and Type | Method and Description |
---|---|
IRole |
determineRole(IPlayer closestPlayer,
int playerID)
Dynamic role assignment to agents.
|
public RoleManager(IGlobalMap worldModel, ITeamStrategy strategy)
public IRole determineRole(IPlayer closestPlayer, int playerID)
IRoleManager
determineRole
in interface IRoleManager