C# Class Beyond_Beyaan.Screens.WindowInterface

Afficher le fichier Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Protected Properties

Свойство Type Description
_backGroundImage BBStretchableImage
_gameMain GameMain
_mouseX int
_mouseY int
_moveable bool
_moving bool
_origX int
_origY int
_windowHeight int
_windowWidth int
_xPos int
_yPos int

Méthodes publiques

Méthode Description
Draw ( ) : void
Initialize ( int x, int y, int width, int height, StretchableImageType backgroundImage, GameMain gameMain, bool moveable, Random r, string &reason ) : bool
KeyDown ( KeyboardInputEventArgs e ) : bool
MouseDown ( int x, int y ) : bool
MouseHover ( int x, int y, float frameDeltaTime ) : bool
MouseUp ( int x, int y ) : bool
MoveWindow ( ) : void

Method Details

Draw() public méthode

public Draw ( ) : void
Résultat void

Initialize() public méthode

public Initialize ( int x, int y, int width, int height, StretchableImageType backgroundImage, GameMain gameMain, bool moveable, Random r, string &reason ) : bool
x int
y int
width int
height int
backgroundImage StretchableImageType
gameMain GameMain
moveable bool
r System.Random
reason string
Résultat bool

KeyDown() public méthode

public KeyDown ( KeyboardInputEventArgs e ) : bool
e KeyboardInputEventArgs
Résultat bool

MouseDown() public méthode

public MouseDown ( int x, int y ) : bool
x int
y int
Résultat bool

MouseHover() public méthode

public MouseHover ( int x, int y, float frameDeltaTime ) : bool
x int
y int
frameDeltaTime float
Résultat bool

MouseUp() public méthode

public MouseUp ( int x, int y ) : bool
x int
y int
Résultat bool

MoveWindow() public méthode

public MoveWindow ( ) : void
Résultat void

Property Details

_backGroundImage protected_oe property

protected BBStretchableImage _backGroundImage
Résultat BBStretchableImage

_gameMain protected_oe property

protected GameMain _gameMain
Résultat GameMain

_mouseX protected_oe property

protected int _mouseX
Résultat int

_mouseY protected_oe property

protected int _mouseY
Résultat int

_moveable protected_oe property

protected bool _moveable
Résultat bool

_moving protected_oe property

protected bool _moving
Résultat bool

_origX protected_oe property

protected int _origX
Résultat int

_origY protected_oe property

protected int _origY
Résultat int

_windowHeight protected_oe property

protected int _windowHeight
Résultat int

_windowWidth protected_oe property

protected int _windowWidth
Résultat int

_xPos protected_oe property

protected int _xPos
Résultat int

_yPos protected_oe property

protected int _yPos
Résultat int