Interface IGameSession
Common interface for any game session implementation. Defines the essential properties and actions related to an agent.
Namespace: ExplorerGame.Core
Assembly: explorer-game.dll
Syntax
public interface IGameSession
Properties
| Edit this page View SourceDiscoveredTile
Tile that caused the agent's death, if applicable.
Declaration
Tile? DiscoveredTile { get; }
Property Value
| Type | Description |
|---|---|
| Tile? |
IsAgentAlive
Indicates whether the agent is still alive.
Declaration
bool IsAgentAlive { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceMove(Vector)
Attempts to move the agent by the given vector. Returns the result of the movement attempt.
Declaration
MovementResult Move(Vector move)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector | move |
Returns
| Type | Description |
|---|---|
| MovementResult |