Show / Hide Table of Contents

    Interface IMap

    Interface for a map.

    Namespace: Fibula.Map.Contracts.Abstractions
    Assembly: Fibula.Map.Contracts.dll
    Syntax
    public interface IMap

    Properties

    | Improve this Doc View Source

    Loader

    Gets the reference to the selected map loader.

    Declaration
    IMapLoader Loader { get; }
    Property Value
    Type Description
    IMapLoader

    Methods

    | Improve this Doc View Source

    GetTileAt(Location)

    Attempts to get a ITile at a given Location, if any.

    Declaration
    ITile GetTileAt(Location location)
    Parameters
    Type Name Description
    Location location

    The location to get the file from.

    Returns
    Type Description
    ITile

    A reference to the ITile found, if any.

    | Improve this Doc View Source

    GetTileAt(Location, out ITile, Boolean)

    Attempts to get a ITile at a given Location, if any.

    Declaration
    bool GetTileAt(Location location, out ITile tile, bool loadAsNeeded = true)
    Parameters
    Type Name Description
    Location location

    The location to get the file from.

    ITile tile

    A reference to the ITile found, if any.

    System.Boolean loadAsNeeded

    Optional. A value indicating whether to attempt to load tiles if the loader hasn't loaded them yet.

    Returns
    Type Description
    System.Boolean

    A value indicating whether a ITile was found, false otherwise.

    Events

    | Improve this Doc View Source

    WindowLoaded

    Event invoked when a window of coordinates in the map is loaded.

    Declaration
    event WindowLoaded WindowLoaded
    Event Type
    Type Description
    WindowLoaded

    Extension Methods

    MapExtensions.CanThrowBetweenLocations(IMap, Location, Location, Boolean)
    MapExtensions.AreInLineOfSight(IMap, Location, Location)
    MapExtensions.CreaturesThatCanSee(IMap, Location[])
    MapExtensions.PlayersThatCanSee(IMap, Location[])
    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.