NxmFormat Class
Definition
Reads and writes headerless NXM maps with explicitly supplied dimensions, encoding and order.
public sealed class NxmFormat : TileMapFormat<NxmFile>
Constructors
| Name | Description |
|---|---|
NxmFormat(Int32, Int32, NxmEncoding, ResourceDataOrder) |
Initializes the interpretation of a raw NXM map; no options are stored in the file itself. |
Properties
| Name | Description |
|---|---|
BytesPerEntry |
Gets the number of bytes per entry. |
Encoding |
Gets the selected entry interpretation. |
Height |
Gets the map height in entries. |
Length |
Gets the required file length in bytes. |
Order |
Gets the on-disk traversal order. |
Width |
Gets the map width in entries. |
Methods
| Name | Description |
|---|---|
ReadAsync(IBinaryReader) |
|
WriteAsync(NxmFile, IBinaryWriter) |