C# Class SmartboyDevelopments.Haxxit.MonoGame.DrawableRectangle

Inheritance: DrawablePrimitive
Datei anzeigen Open project: smartboyathome/Haxxit

Public Methods

Method Description
Draw ( SpriteBatch sprite_batch ) : void
DrawableRectangle ( Microsoft.Xna.Framework.Graphics.Texture2D white_pixel, Rectangle area, Color fill_color ) : System
DrawableRectangle ( Microsoft.Xna.Framework.Graphics.Texture2D white_pixel, Rectangle area, Color fill_color, int border_size, Color border_color ) : System
Update ( ) : void

Private Methods

Method Description
CheckMouseUpdate ( ButtonState button_state, DrawableMouseState drawable_mouse_state ) : bool

Method Details

Draw() public method

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

DrawableRectangle() public method

public DrawableRectangle ( Microsoft.Xna.Framework.Graphics.Texture2D white_pixel, Rectangle area, Color fill_color ) : System
white_pixel Microsoft.Xna.Framework.Graphics.Texture2D
area Microsoft.Xna.Framework.Rectangle
fill_color Color
return System

DrawableRectangle() public method

public DrawableRectangle ( Microsoft.Xna.Framework.Graphics.Texture2D white_pixel, Rectangle area, Color fill_color, int border_size, Color border_color ) : System
white_pixel Microsoft.Xna.Framework.Graphics.Texture2D
area Microsoft.Xna.Framework.Rectangle
fill_color Color
border_size int
border_color Color
return System

Update() public method

public Update ( ) : void
return void