fr.lip6.sma.simulacion.server
Class LocalPlayerImpl
java.lang.Object
fr.lip6.sma.simulacion.server.AgentImpl
fr.lip6.sma.simulacion.server.LocalAgentImpl
fr.lip6.sma.simulacion.server.LocalLogAgentImpl
fr.lip6.sma.simulacion.server.LocalPlayerImpl
- All Implemented Interfaces:
- Agent, LocalAgent, LocalAgentWithProperties, LocalPlayer, Player
public class LocalPlayerImpl
- extends LocalLogAgentImpl
- implements LocalPlayer
Base class for the local player implementation.
This is the class you need to derive to implement agents controlled by
players.
- Version:
- $Revision: 3 $
- Author:
- Paul Guyot
- See Also:
- "aucun test défini."
Fields inherited from interface fr.lip6.sma.simulacion.server.Player |
CLASS |
mAvatarName
private final String mAvatarName
- Référence sur le nom de l'avatar.
mTypeName
private final String mTypeName
- Référence sur le nom du type d'agent.
LocalPlayerImpl
public LocalPlayerImpl(AgentListManager inAgentListManager,
String inAgentName,
Map inProperties)
- Constructeur à partir du gestionnaire de liste, d'un nom et de
propriétés.
- Parameters:
inAgentListManager
- gestionnaire de la liste des agents.inAgentName
- nom de l'agent.inProperties
- propriétés de l'agent.
getAgentClass
public String getAgentClass()
- Accesseur sur la classe de l'agent.
- Specified by:
getAgentClass
in interface Agent
- Returns:
- la classe de l'agent.
getAvatarName
public String getAvatarName()
- Accesseur sur le nom de l'avatar.
- Specified by:
getAvatarName
in interface Player
- Returns:
- le nom de l'avatar.
getTypeName
public String getTypeName()
- Accesseur sur le nom du type de l'agent.
- Returns:
- le type de l'agent.