Class EmptyLocalStateOfAgent
- java.lang.Object
-
- fr.univ_artois.lgi2a.similar.microkernel.libs.abstractimpl.AbstractLocalState
-
- fr.univ_artois.lgi2a.similar.microkernel.libs.abstractimpl.AbstractLocalStateOfAgent
-
- fr.univ_artois.lgi2a.similar.microkernel.libs.generic.EmptyLocalStateOfAgent
-
- All Implemented Interfaces:
ILocalStateOfAgent
,ILocalStateOfAgent4Engine
,ILocalState
public final class EmptyLocalStateOfAgent extends AbstractLocalStateOfAgent
Models a public or private local state for the agent in a specific level.Usage
This public local state is used when no information about the agent can be perceived for a specific level.
- Author:
- Yoann Kubera
-
-
Constructor Summary
Constructors Constructor Description EmptyLocalStateOfAgent(LevelIdentifier levelIdentifier, IAgent4Engine owner)
Builds an empty agent public or private local state for a specific level and a specific agent.
-
Method Summary
-
Methods inherited from class fr.univ_artois.lgi2a.similar.microkernel.libs.abstractimpl.AbstractLocalStateOfAgent
getCategoryOfAgent, getOwner, isOwnedBy
-
Methods inherited from class fr.univ_artois.lgi2a.similar.microkernel.libs.abstractimpl.AbstractLocalState
getLevel
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.univ_artois.lgi2a.similar.microkernel.ILocalState
getLevel
-
-
-
-
Constructor Detail
-
EmptyLocalStateOfAgent
public EmptyLocalStateOfAgent(LevelIdentifier levelIdentifier, IAgent4Engine owner)
Builds an empty agent public or private local state for a specific level and a specific agent.- Parameters:
levelIdentifier
- The identifier of the level where this public local state is defined.owner
- The agent owning this public local state.- Throws:
IllegalArgumentException
- If an argument isnull
.
-
-