Remote Explorer Game
Search Results for

    Show / Hide Table of Contents

    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 Source

    DiscoveredTile

    Tile that caused the agent's death, if applicable.

    Declaration
    Tile? DiscoveredTile { get; }
    Property Value
    Type Description
    Tile?
    | Edit this page View Source

    IsAgentAlive

    Indicates whether the agent is still alive.

    Declaration
    bool IsAgentAlive { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Move(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
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX