Classes | Public Member Functions | Properties

Romulus.Nes.SmallExtendedNameTable< T > Class Template Reference

Represents a small name table with extra data of an arbitrary type for each individual tile. More...

Inheritance diagram for Romulus.Nes.SmallExtendedNameTable< T >:
Romulus.Nes.SmallNameTable

List of all members.

Classes

struct  NameTableData
 Contains references to name table data. More...

Public Member Functions

 SmallExtendedNameTable ()
 Creates an extended name table.
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.

Detailed Description

template<T>
class Romulus::Nes::SmallExtendedNameTable-g< T >

Represents a small name table with extra data of an arbitrary type for each individual tile.

Template Parameters:
T The type of data

Member Function Documentation

template<T >
override void Romulus.Nes.SmallExtendedNameTable< T >.Clear (  )  [virtual]

Clears the name table data.

Reimplemented from Romulus.Nes.SmallNameTable.

template<T >
new NameTableData Romulus.Nes.SmallExtendedNameTable< T >.GetBackingData (  ) 

Gets the raw data for the extended name table.

Returns:

Reimplemented from Romulus.Nes.SmallNameTable.

template<T >
T Romulus.Nes.SmallExtendedNameTable< T >.GetData ( int  x,
int  y 
)

Gets the data for the specified tile.

Parameters:
x The location of the tile to get.
y The location of the tile to get.
Returns:
The tile data.
template<T >
void Romulus.Nes.SmallExtendedNameTable< T >.SetData ( int  x,
int  y,
data 
)

Sets the data for one tile.

Parameters:
x The location of the tile to set.
y The location of the tile to set.
data Tile data.
template<T >
Romulus.Nes.SmallExtendedNameTable< T >.SmallExtendedNameTable (  ) 

Creates an extended name table.


Property Documentation

template<T >
new ExtendedTileEntry<T> Romulus.Nes.SmallExtendedNameTable< T >.this[int x, int y] [get, set]

Gets or sets data for one tile.

Parameters:
x Tile location.
y Tile location.
Returns:
Data for the specified tile.

Reimplemented from Romulus.Nes.SmallNameTable.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events