C# Class Beyond_Beyaan.Screens.WindowInterface

Mostrar archivo Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Protected Properties

Property 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

Public Methods

Method 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 method

public Draw ( ) : void
return void

Initialize() public method

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
return bool

KeyDown() public method

public KeyDown ( KeyboardInputEventArgs e ) : bool
e KeyboardInputEventArgs
return bool

MouseDown() public method

public MouseDown ( int x, int y ) : bool
x int
y int
return bool

MouseHover() public method

public MouseHover ( int x, int y, float frameDeltaTime ) : bool
x int
y int
frameDeltaTime float
return bool

MouseUp() public method

public MouseUp ( int x, int y ) : bool
x int
y int
return bool

MoveWindow() public method

public MoveWindow ( ) : void
return void

Property Details

_backGroundImage protected_oe property

protected BBStretchableImage _backGroundImage
return BBStretchableImage

_gameMain protected_oe property

protected GameMain _gameMain
return GameMain

_mouseX protected_oe property

protected int _mouseX
return int

_mouseY protected_oe property

protected int _mouseY
return int

_moveable protected_oe property

protected bool _moveable
return bool

_moving protected_oe property

protected bool _moving
return bool

_origX protected_oe property

protected int _origX
return int

_origY protected_oe property

protected int _origY
return int

_windowHeight protected_oe property

protected int _windowHeight
return int

_windowWidth protected_oe property

protected int _windowWidth
return int

_xPos protected_oe property

protected int _xPos
return int

_yPos protected_oe property

protected int _yPos
return int