Table of Contents

Interface IResourceReader

Namespace
DotTiled.Serialization
Assembly
DotTiled.dll

Able to read resources from a given path.

public interface IResourceReader

Methods

Read(string)

Reads a Tiled resource from a given path.

string Read(string resourcePath)

Parameters

resourcePath string

The path to the Tiled resource, which can be a Map file, Tileset file, Template file, etc.

Returns

string

The content of the resource as a string.