Represents a small name table with extra data of an arbitrary type for each individual tile. More...
Classes | |
struct | NameTableData |
Contains references to name table data. More... | |
Public Member Functions | |
SmallExtendedNameTable () | |
Creates an extended name table. | |
T | GetData (int x, int y) |
Gets the data for the specified tile. | |
void | SetData (int x, int y, T data) |
Sets the data for one tile. | |
new NameTableData | GetBackingData () |
Gets the raw data for the extended name table. | |
override void | Clear () |
Clears the name table data. | |
Properties | |
new ExtendedTileEntry< T > | this [int x, int y] [get, set] |
Gets or sets data for one tile. |
Represents a small name table with extra data of an arbitrary type for each individual tile.
T | The type of data |
override void Romulus.Nes.SmallExtendedNameTable< T >.Clear | ( | ) | [virtual] |
Clears the name table data.
Reimplemented from Romulus.Nes.SmallNameTable.
new NameTableData Romulus.Nes.SmallExtendedNameTable< T >.GetBackingData | ( | ) |
Gets the raw data for the extended name table.
Reimplemented from Romulus.Nes.SmallNameTable.
T Romulus.Nes.SmallExtendedNameTable< T >.GetData | ( | int | x, | |
int | y | |||
) |
Gets the data for the specified tile.
x | The location of the tile to get. | |
y | The location of the tile to get. |
void Romulus.Nes.SmallExtendedNameTable< T >.SetData | ( | int | x, | |
int | y, | |||
T | data | |||
) |
Sets the data for one tile.
x | The location of the tile to set. | |
y | The location of the tile to set. | |
data | Tile data. |
Romulus.Nes.SmallExtendedNameTable< T >.SmallExtendedNameTable | ( | ) |
Creates an extended name table.
new ExtendedTileEntry<T> Romulus.Nes.SmallExtendedNameTable< T >.this[int x, int y] [get, set] |
Gets or sets data for one tile.
x | Tile location. | |
y | Tile location. |
Reimplemented from Romulus.Nes.SmallNameTable.