C# Class xnaHelper.Primitives.Box

Mostra file Open project: faintpixel/Roguelike

Public Properties

Property Type Description
Height int
LineColor Color
TopLeft Vector2
Width int

Public Methods

Method Description
Box ( Vector2 topLeft, int width, int height, Color color ) : System
Draw ( ) : void

Private Methods

Method Description
CalculatePoints ( ) : void

Method Details

Box() public method

public Box ( Vector2 topLeft, int width, int height, Color color ) : System
topLeft Vector2
width int
height int
color Color
return System

Draw() public method

public Draw ( ) : void
return void

Property Details

Height public_oe property

public int Height
return int

LineColor public_oe property

public Color LineColor
return Color

TopLeft public_oe property

public Vector2 TopLeft
return Vector2

Width public_oe property

public int Width
return int