C# Class MilkShakeFramework.Render.PrimitiveRenderer

Inheritance: Renderer
显示文件 Open project: lucas-jones/MilkShake-old Class Usage Examples

Public Properties

Property Type Description
_lineImage ImageRenderer

Public Methods

Method Description
DrawLine ( Vector2 _pointA, Vector2 _pointB, Color _color ) : void
DrawRectangle ( Rectangle _rectangle, Color _color ) : void
DrawRectangle ( RotatedRectangle _rectangle, Color _color ) : void
FixUp ( ) : void
PostDraw ( ) : void
PrimitiveRenderer ( ) : System

Private Methods

Method Description
RenderLines ( Vector2 _pointA, Vector2 _pointB, Color color ) : void

Method Details

DrawLine() public method

public DrawLine ( Vector2 _pointA, Vector2 _pointB, Color _color ) : void
_pointA Vector2
_pointB Vector2
_color Color
return void

DrawRectangle() public method

public DrawRectangle ( Rectangle _rectangle, Color _color ) : void
_rectangle Microsoft.Xna.Framework.Rectangle
_color Color
return void

DrawRectangle() public method

public DrawRectangle ( RotatedRectangle _rectangle, Color _color ) : void
_rectangle MilkShakeFramework.Tools.Maths.RotatedRectangle
_color Color
return void

FixUp() public method

public FixUp ( ) : void
return void

PostDraw() public method

public PostDraw ( ) : void
return void

PrimitiveRenderer() public method

public PrimitiveRenderer ( ) : System
return System

Property Details

_lineImage public_oe static_oe property

public static ImageRenderer,MilkShakeFramework.Render _lineImage
return ImageRenderer