C# Class SmartboyDevelopments.Haxxit.MonoGame.DrawablePrimitive

Class for drawing primitives, taken then modified from http://stackoverflow.com/questions/13893959/how-to-draw-the-border-of-a-square
Show file Open project: smartboyathome/Haxxit

Public Methods

Method Description
Draw ( SpriteBatch sprite_batch ) : void
Update ( ) : void

Protected Methods

Method Description
DrawablePrimitive ( Microsoft.Xna.Framework.Graphics.Texture2D white_pixel ) : System

Method Details

Draw() public abstract method

public abstract Draw ( SpriteBatch sprite_batch ) : void
sprite_batch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

DrawablePrimitive() protected method

protected DrawablePrimitive ( Microsoft.Xna.Framework.Graphics.Texture2D white_pixel ) : System
white_pixel Microsoft.Xna.Framework.Graphics.Texture2D
return System

Update() public abstract method

public abstract Update ( ) : void
return void