C# Class Sharplike.Core.Rendering.DisplayTile

A single tile in the render window. Should never be created by an end user (but there may be edge cases that make it necessary).
Afficher le fichier Open project: eropple/sharplike Class Usage Examples

Méthodes publiques

Méthode Description
MakeRenderDirty ( ) : void

Signals to the tile that it should be repainted even if it has not changed since the last repaint.

Generally should only be used through Window.Invalidate().

MakeStackDirty ( ) : void

Signals to the tile that it should rebuild it's RegionTile stack.

Generally should only be used through Window.Invalidate().

MarkRenderClean ( ) : void

Signals to the tile that it shall be considered non-dirty until the tile is again updated.

Should only be called by the renderer, but maybe there's a case for an end user to call it, I don't know.

MarkStackClean ( ) : void

Signals to the tile that it's stack is now clean.

Private Methods

Méthode Description
DisplayTile ( GlyphPalette p, AbstractRegion root, Point loc ) : System

Constructor.

RebuildRegionTiles ( ) : void

Rebuilds our cached list of regiontiles that affect this displaytile

Method Details

MakeRenderDirty() public méthode

Signals to the tile that it should be repainted even if it has not changed since the last repaint.
Generally should only be used through Window.Invalidate().
public MakeRenderDirty ( ) : void
Résultat void

MakeStackDirty() public méthode

Signals to the tile that it should rebuild it's RegionTile stack.
Generally should only be used through Window.Invalidate().
public MakeStackDirty ( ) : void
Résultat void

MarkRenderClean() public méthode

Signals to the tile that it shall be considered non-dirty until the tile is again updated.
Should only be called by the renderer, but maybe there's a case for an end user to call it, I don't know.
public MarkRenderClean ( ) : void
Résultat void

MarkStackClean() public méthode

Signals to the tile that it's stack is now clean.
public MarkStackClean ( ) : void
Résultat void