C# Class GameEngine.ScreenObject

Represents a Object that is to be displayed on the Screen(Canvas)
Afficher le fichier Open project: Kursledare/Mookieraw Class Usage Examples

Méthodes publiques

Méthode Description
Reposition ( float x, float y ) : void
ScreenObject ( string source, int zIndex, MouseButtonEventHandler uIElement_OnMouseDown = null ) : System
SetOpacity ( double value ) : void
ToCanvasPosition ( ) : Vector2

Method Details

Reposition() public méthode

public Reposition ( float x, float y ) : void
x float
y float
Résultat void

ScreenObject() public méthode

public ScreenObject ( string source, int zIndex, MouseButtonEventHandler uIElement_OnMouseDown = null ) : System
source string
zIndex int
uIElement_OnMouseDown MouseButtonEventHandler
Résultat System

SetOpacity() public méthode

public SetOpacity ( double value ) : void
value double
Résultat void

ToCanvasPosition() public méthode

public ToCanvasPosition ( ) : Vector2
Résultat Vector2