C# Class Relative.ButtonState

Inheritance: State
显示文件 Open project: Arhirat/Relative

Public Properties

Property Type Description
mStateVar ButtonStateVar

Public Methods

Method Description
ButtonState ( ButtonStateVar stateVar ) : System
onDown ( Vec pos, MouseButtons mb ) : State
onMove ( Vec pos ) : State
onPaint ( DrawInfo e ) : void
onUp ( Vec pos, MouseButtons mb ) : State

Method Details

ButtonState() public method

public ButtonState ( ButtonStateVar stateVar ) : System
stateVar ButtonStateVar
return System

onDown() public method

public onDown ( Vec pos, MouseButtons mb ) : State
pos Vec
mb MouseButtons
return State

onMove() public method

public onMove ( Vec pos ) : State
pos Vec
return State

onPaint() public method

public onPaint ( DrawInfo e ) : void
e DrawInfo
return void

onUp() public method

public onUp ( Vec pos, MouseButtons mb ) : State
pos Vec
mb MouseButtons
return State

Property Details

mStateVar public_oe property

public ButtonStateVar,Relative mStateVar
return ButtonStateVar