C# Class SFML.Graphics.SpriteBatch

显示文件 Open project: Thraka/SadConsole

Public Methods

Method Description
DrawCell ( Cell cell, SFML.Graphics.IntRect screenRect, SFML.Graphics.IntRect solidRect, Color defaultBackground, SadConsole font ) : void
DrawQuad ( SFML.Graphics.IntRect screenRect, SFML.Graphics.IntRect textCoords, Color color, Texture texture ) : void
End ( ) : void
Reset ( RenderTarget target, RenderStates state, SFML.Graphics.Transform renderingTransform ) : void

Method Details

DrawCell() public method

public DrawCell ( Cell cell, SFML.Graphics.IntRect screenRect, SFML.Graphics.IntRect solidRect, Color defaultBackground, SadConsole font ) : void
cell SadConsole.Cell
screenRect SFML.Graphics.IntRect
solidRect SFML.Graphics.IntRect
defaultBackground Color
font SadConsole
return void

DrawQuad() public method

public DrawQuad ( SFML.Graphics.IntRect screenRect, SFML.Graphics.IntRect textCoords, Color color, Texture texture ) : void
screenRect SFML.Graphics.IntRect
textCoords SFML.Graphics.IntRect
color Color
texture Texture
return void

End() public method

public End ( ) : void
return void

Reset() public method

public Reset ( RenderTarget target, RenderStates state, SFML.Graphics.Transform renderingTransform ) : void
target RenderTarget
state RenderStates
renderingTransform SFML.Graphics.Transform
return void