TsxProvider class abstract

abstract class to be implemented for an external tileset data provider.

Constructors

TsxProvider()

Properties

filename String
Unique filename for the tileset to be loaded. This should match the 'source' property in the map.tmx file.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCachedSource() Parser?
Used when provider implementations cache the data. Returns the cached data for the exernal tileset.
getSource(String filename) Parser
Retrieves the external tileset data given the tileset filename.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parse(String key) Future<TsxProvider>
Parses a file returning a TsxProvider.