C# Class hyades.screen.menu.Menu

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

Public Properties

Property Type Description
curr_option int
fade_value float
font_title hyades.graphics.Font
options hyades.screen.menu.ScreenOption[]
selected_intensity float
title string
total_time float

Public Methods

Method Description
Draw ( GraphicsDevice device ) : void
FadeIn ( ) : void
FadeOut ( ) : void
GetOptionCenterPositionY ( int index ) : float
GetOptionPositionX ( int index ) : float
GetOptionPositionY ( int index ) : float
Menu ( Screen parent, ScreenManager manager ) : System
OnActive ( double elapsed, InputDevice input ) : void
Update ( double elapsed ) : void

Private Methods

Method Description
GetX ( ) : float
GetY ( ) : float

Method Details

Draw() public method

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

FadeIn() public method

public FadeIn ( ) : void
return void

FadeOut() public method

public FadeOut ( ) : void
return void

GetOptionCenterPositionY() public method

public GetOptionCenterPositionY ( int index ) : float
index int
return float

GetOptionPositionX() public method

public GetOptionPositionX ( int index ) : float
index int
return float

GetOptionPositionY() public method

public GetOptionPositionY ( int index ) : float
index int
return float

Menu() public method

public Menu ( Screen parent, ScreenManager manager ) : System
parent Screen
manager ScreenManager
return System

OnActive() public method

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

Update() public method

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

Property Details

curr_option public_oe property

public int curr_option
return int

fade_value public_oe property

public float fade_value
return float

font_title public_oe property

public Font,hyades.graphics font_title
return hyades.graphics.Font

options public_oe property

public ScreenOption[],hyades.screen.menu options
return hyades.screen.menu.ScreenOption[]

selected_intensity public_oe property

public float selected_intensity
return float

title public_oe property

public string title
return string

total_time public_oe property

public float total_time
return float