C# Class xnaHelper.Primitives.Box

Show 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 property

public int Height
return int

LineColor public property

public Color LineColor
return Color

TopLeft public property

public Vector2 TopLeft
return Vector2

Width public property

public int Width
return int