C# Class hyades.screen.menu.controls.Slider

Inheritance: Screen
显示文件 Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
index int
value float

Public Methods

Method Description
Draw ( GraphicsDevice device ) : void
OnActive ( double elapsed, InputDevice input ) : void
SetValue ( float value ) : void
Slider ( Menu parent, int index, float value, Action action ) : System
Update ( double elapsed ) : void

Method Details

Draw() public method

public Draw ( GraphicsDevice device ) : void
device GraphicsDevice
return void

OnActive() public method

public OnActive ( double elapsed, InputDevice input ) : void
elapsed double
input InputDevice
return void

SetValue() public method

public SetValue ( float value ) : void
value float
return void

Slider() public method

public Slider ( Menu parent, int index, float value, Action action ) : System
parent Menu
index int
value float
action Action
return System

Update() public method

public Update ( double elapsed ) : void
elapsed double
return void

Property Details

index public_oe property

public int index
return int

value public_oe property

public float value
return float