Interface IAgent<TLayer>
This interfaces describes all agent type managed and owned by a specific given
TLayer
type.
Namespace: Mars.Interfaces.Agents
Assembly: Mars.Interfaces.dll
Syntax
public interface IAgent<in TLayer> : IAgent, ITickClient, IEntity, IModelObject where TLayer : ILayer
Type Parameters
Name | Description |
---|---|
TLayer | The layer type which is responsible to manage this agent type. |
Methods
| Improve this Doc View SourceInit(TLayer)
Initialize the instance of this agent with the layer instance
giving access to all other model and system components.
Declaration
void Init(TLayer layer)
Parameters
Type | Name | Description |
---|---|---|
TLayer | layer | The layer where this instance is living on. |