C# Class MilkShakeFramework.Render.SpriteSheetRenderer

Inheritance: Renderer
Datei anzeigen Open project: lucas-jones/MilkShake-old

Public Methods

Method Description
Draw ( Vector2 position, int width, int height, Rectangle source ) : void
Draw ( Vector2 position, int width, int height, Rectangle source, bool flipped ) : void
Draw ( Vector2 position, int width, int height, Rectangle source, bool flipped, Color color, float rotation, Vector2 origin, Vector2 scale ) : void
Load ( LoadManager content ) : void
SpriteSheetRenderer ( string url ) : System

Method Details

Draw() public method

public Draw ( Vector2 position, int width, int height, Rectangle source ) : void
position Vector2
width int
height int
source Microsoft.Xna.Framework.Rectangle
return void

Draw() public method

public Draw ( Vector2 position, int width, int height, Rectangle source, bool flipped ) : void
position Vector2
width int
height int
source Microsoft.Xna.Framework.Rectangle
flipped bool
return void

Draw() public method

public Draw ( Vector2 position, int width, int height, Rectangle source, bool flipped, Color color, float rotation, Vector2 origin, Vector2 scale ) : void
position Vector2
width int
height int
source Microsoft.Xna.Framework.Rectangle
flipped bool
color Color
rotation float
origin Vector2
scale Vector2
return void

Load() public method

public Load ( LoadManager content ) : void
content MilkShakeFramework.Core.Content.LoadManager
return void

SpriteSheetRenderer() public method

public SpriteSheetRenderer ( string url ) : System
url string
return System