C# Class NScumm.Sword1.ControlButton

Mostra file Open project: scemino/nscumm Class Usage Examples

Public Properties

Property Type Description
_flag byte
_id ButtonIds

Public Methods

Method Description
ControlButton ( ushort x, ushort y, uint resId, ButtonIds id, byte flag, ResMan pResMan, byte screenBuf, ISystem system ) : NScumm.Core
Draw ( ) : void
IsSaveslot ( ) : bool
SetSelected ( byte selected ) : void
WasClicked ( ushort mouseX, ushort mouseY ) : bool

Method Details

ControlButton() public method

public ControlButton ( ushort x, ushort y, uint resId, ButtonIds id, byte flag, ResMan pResMan, byte screenBuf, ISystem system ) : NScumm.Core
x ushort
y ushort
resId uint
id ButtonIds
flag byte
pResMan ResMan
screenBuf byte
system ISystem
return NScumm.Core

Draw() public method

public Draw ( ) : void
return void

IsSaveslot() public method

public IsSaveslot ( ) : bool
return bool

SetSelected() public method

public SetSelected ( byte selected ) : void
selected byte
return void

WasClicked() public method

public WasClicked ( ushort mouseX, ushort mouseY ) : bool
mouseX ushort
mouseY ushort
return bool

Property Details

_flag public_oe property

public byte _flag
return byte

_id public_oe property

public ButtonIds _id
return ButtonIds