C# Class LynnaLab.GraphicsState

Mostra file Open project: Drenn1/LynnaLab Class Usage Examples

Public Methods

Method Description
AddGfxHeader ( GfxHeaderData header, GfxHeaderType group ) : void
AddPaletteHeaderGroup ( PaletteHeaderGroup group, PaletteGroupType type ) : void
AddTileModifiedHandler ( TileModifiedHandler handler ) : void
GetBackgroundPalettes ( ) : Color[][]
GetPalettes ( PaletteType type ) : Color[][]
GetSpritePalettes ( ) : Color[][]
GraphicsState ( ) : System
RemoveGfxHeaderType ( GfxHeaderType type ) : void
RemovePaletteGroupType ( PaletteGroupType type ) : void
RemoveTileModifiedHandler ( TileModifiedHandler handler ) : void

Private Methods

Method Description
CheckGfxHeaderTilesToUpdate ( GfxHeaderData header ) : void
LoadGfxHeader ( GfxHeaderData header ) : void
LoadPaletteHeaderGroup ( PaletteHeaderGroup group ) : void
RegenerateBuffers ( ) : void
RegeneratePalettes ( ) : void

Method Details

AddGfxHeader() public method

public AddGfxHeader ( GfxHeaderData header, GfxHeaderType group ) : void
header GfxHeaderData
group GfxHeaderType
return void

AddPaletteHeaderGroup() public method

public AddPaletteHeaderGroup ( PaletteHeaderGroup group, PaletteGroupType type ) : void
group PaletteHeaderGroup
type PaletteGroupType
return void

AddTileModifiedHandler() public method

public AddTileModifiedHandler ( TileModifiedHandler handler ) : void
handler TileModifiedHandler
return void

GetBackgroundPalettes() public method

public GetBackgroundPalettes ( ) : Color[][]
return Color[][]

GetPalettes() public method

public GetPalettes ( PaletteType type ) : Color[][]
type PaletteType
return Color[][]

GetSpritePalettes() public method

public GetSpritePalettes ( ) : Color[][]
return Color[][]

GraphicsState() public method

public GraphicsState ( ) : System
return System

RemoveGfxHeaderType() public method

public RemoveGfxHeaderType ( GfxHeaderType type ) : void
type GfxHeaderType
return void

RemovePaletteGroupType() public method

public RemovePaletteGroupType ( PaletteGroupType type ) : void
type PaletteGroupType
return void

RemoveTileModifiedHandler() public method

public RemoveTileModifiedHandler ( TileModifiedHandler handler ) : void
handler TileModifiedHandler
return void