C# Class Clandestine.Sprite

Inheritance: Renderable
Exibir arquivo Open project: mrmikey/nes Class Usage Examples

Public Properties

Property Type Description
Color GLColor
FlipHorizontal bool
GluedToCamera bool
IgnoreGlobalColor bool
Origin Point
Rotation float
Scale float
ScaleX float
ScaleY float
Superbright bool
X int
Y int

Public Methods

Method Description
FromBitmap ( Bitmap bmp ) : Sprite
GetTexture ( ) : Texture
SetTexture ( Texture texture ) : void
Sprite ( ) : System
Sprite ( Texture texture ) : System
Sprite ( string filename ) : System

Private Methods

Method Description
Render ( ) : void

Method Details

FromBitmap() public static method

public static FromBitmap ( Bitmap bmp ) : Sprite
bmp System.Drawing.Bitmap
return Sprite

GetTexture() public method

public GetTexture ( ) : Texture
return Texture

SetTexture() public method

public SetTexture ( Texture texture ) : void
texture Texture
return void

Sprite() public method

public Sprite ( ) : System
return System

Sprite() public method

public Sprite ( Texture texture ) : System
texture Texture
return System

Sprite() public method

public Sprite ( string filename ) : System
filename string
return System

Property Details

Color public_oe property

public GLColor,Clandestine Color
return GLColor

FlipHorizontal public_oe property

public bool FlipHorizontal
return bool

GluedToCamera public_oe property

public bool GluedToCamera
return bool

IgnoreGlobalColor public_oe property

public bool IgnoreGlobalColor
return bool

Origin public_oe property

public Point Origin
return Point

Rotation public_oe property

public float Rotation
return float

Scale public_oe property

public float Scale
return float

ScaleX public_oe property

public float ScaleX
return float

ScaleY public_oe property

public float ScaleY
return float

Superbright public_oe property

public bool Superbright
return bool

X public_oe property

public int X
return int

Y public_oe property

public int Y
return int