C# Class Ypsilon.Core.Graphics.Curses

Mostra file Open project: ZaneDubya/YCPU Class Usage Examples

Public Properties

Property Type Description
CharsHigh int
CharsWide int
OneCharHeight int
OneCharWidth int

Public Methods

Method Description
Clear ( ) : void

Clears the Curses display.

Curses ( GraphicsDevice graphics, int width, int height, string font, bool useHorizSpacingPixel ) : System

Creates a Curses display. Width and Height are in 8x8 character increments.

Randomize ( ) : void
Render ( SpriteBatchExtended spriteBatch, EffectState effect, Vector2 offset ) : void
WriteBox ( int x, int y, int w, int h, CurseDecoration d ) : void
WriteLines ( int x, int y, int width, string s, char delim ) : void
WriteString ( int x, int y, string s ) : void

Method Details

Clear() public method

Clears the Curses display.
public Clear ( ) : void
return void

Curses() public method

Creates a Curses display. Width and Height are in 8x8 character increments.
public Curses ( GraphicsDevice graphics, int width, int height, string font, bool useHorizSpacingPixel ) : System
graphics GraphicsDevice
width int
height int
font string
useHorizSpacingPixel bool
return System

Randomize() public method

public Randomize ( ) : void
return void

Render() public method

public Render ( SpriteBatchExtended spriteBatch, EffectState effect, Vector2 offset ) : void
spriteBatch SpriteBatchExtended
effect EffectState
offset Vector2
return void

WriteBox() public method

public WriteBox ( int x, int y, int w, int h, CurseDecoration d ) : void
x int
y int
w int
h int
d CurseDecoration
return void

WriteLines() public method

public WriteLines ( int x, int y, int width, string s, char delim ) : void
x int
y int
width int
s string
delim char
return void

WriteString() public method

public WriteString ( int x, int y, string s ) : void
x int
y int
s string
return void

Property Details

CharsHigh public_oe property

public int CharsHigh
return int

CharsWide public_oe property

public int CharsWide
return int

OneCharHeight public_oe property

public int OneCharHeight
return int

OneCharWidth public_oe property

public int OneCharWidth
return int