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 SourceLoader
Gets the reference to the selected map loader.
Declaration
IMapLoader Loader { get; }
Property Value
Type | Description |
---|---|
IMapLoader |
Methods
| Improve this Doc View SourceGetTileAt(Location)
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. |
GetTileAt(Location, out ITile, Boolean)
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 SourceWindowLoaded
Event invoked when a window of coordinates in the map is loaded.
Declaration
event WindowLoaded WindowLoaded
Event Type
Type | Description |
---|---|
WindowLoaded |