Table of Contents

Class FileSystemResourceReader

Namespace
DotTiled.Serialization
Assembly
DotTiled.dll

Uses the underlying host file system to read Tiled resources from a given path.

public class FileSystemResourceReader : IResourceReader
Inheritance
FileSystemResourceReader
Implements
Inherited Members

Constructors

FileSystemResourceReader()

Initializes a new instance of the FileSystemResourceReader class.

public FileSystemResourceReader()

Methods

Read(string)

Reads a Tiled resource from a given path.

public 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.