Public Member Functions | Static Public Member Functions | Public Attributes

Romulus.Nes.ExtendedTileEntry< T > Struct Template Reference

Represents the tile index, attribute data, and extra data for a single background tile. More...

List of all members.

Public Member Functions

 ExtendedTileEntry (byte tile, byte pal, T data)
 Creates a new ExtendedTileEntry.

Static Public Member Functions

static implicit operator TileEntry (ExtendedTileEntry< T > t)
 Defines an implicit conversion to the TileEntry structure (simulate polymorphism).

Public Attributes

byte Tile
 Pattern index.
byte Palette
 Palette index.
Data
 Extended data.

Detailed Description

template<T>
struct Romulus::Nes::ExtendedTileEntry-g< T >

Represents the tile index, attribute data, and extra data for a single background tile.

Template Parameters:
T Extended data type

Member Function Documentation

template<T >
Romulus.Nes.ExtendedTileEntry< T >.ExtendedTileEntry ( byte  tile,
byte  pal,
data 
)

Creates a new ExtendedTileEntry.

Parameters:
tile Pattern index.
pal Palette index.
data Extended data.
template<T >
static implicit Romulus.Nes.ExtendedTileEntry< T >.operator TileEntry ( ExtendedTileEntry< T >  t  )  [static]

Defines an implicit conversion to the TileEntry structure (simulate polymorphism).

Parameters:
t Extended data type
Returns:
A TileEntry stripped of extended data.

Member Data Documentation

template<T >
T Romulus.Nes.ExtendedTileEntry< T >.Data

Extended data.

template<T >
byte Romulus.Nes.ExtendedTileEntry< T >.Palette

Palette index.

template<T >
byte Romulus.Nes.ExtendedTileEntry< T >.Tile

Pattern index.


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