Remote Explorer Game
Search Results for

    Show / Hide Table of Contents

    Struct MovementResult

    Represents the outcome of a movement attempt. Contains both success and survival information.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ExplorerGame.Core
    Assembly: explorer-game.dll
    Syntax
    public struct MovementResult

    Constructors

    | Edit this page View Source

    MovementResult(bool, bool, Tile?)

    Initializes a new MovementResult with the specified values.

    Declaration
    public MovementResult(bool movedSuccessfully, bool isAgentAlive, Tile? discoveredTile)
    Parameters
    Type Name Description
    bool movedSuccessfully

    true if the move was valid and executed.

    bool isAgentAlive

    true if the agent is still alive after the move.

    Tile? discoveredTile

    The tile discovered by the move, if any.

    Properties

    | Edit this page View Source

    DiscoveredTile

    Gets or sets the tile discovered as a consequence of the movement, if any.

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

    IsAgentAlive

    Indicates whether the agent is still alive after the move.

    Declaration
    public bool IsAgentAlive { readonly get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MovedSuccessfully

    Indicates whether the move was valid and executed.

    Declaration
    public bool MovedSuccessfully { readonly get; set; }
    Property Value
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX