C# Class FSO.Client.UI.Panels.UIPieMenu

Inheritance: FSO.Client.UI.Framework.UIContainer
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
m_Bg FSO.Client.UI.Controls.UIImage
m_Caller FSO.SimAntics.VMEntity
m_CurrentItem UIPieMenuItem
m_Obj FSO.SimAntics.VMEntity
m_Parent UILotControl
m_PieButtons List
m_PieTree UIPieMenuItem

Public Methods

Method Description
BackButtonPress ( UIElement button ) : void
Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
PieButtonHover ( UIElement button ) : void
PreDraw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
RemoveSimScene ( ) : void
RenderMenu ( ) : void
RotateHeadCam ( Vector2 point ) : void
UIPieMenu ( List pie, FSO.SimAntics.VMEntity obj, FSO.SimAntics.VMEntity caller, UILotControl parent ) : System
Update ( FSO state ) : void
UpdateHeadPosition ( int x, int y ) : void

Private Methods

Method Description
PieButtonClick ( UIElement button ) : void
initSimHead ( ) : void

Method Details

BackButtonPress() public method

public BackButtonPress ( UIElement button ) : void
button FSO.Client.UI.Framework.UIElement
return void

Draw() public method

public Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
batch FSO.Client.UI.Framework.UISpriteBatch
return void

PieButtonHover() public method

public PieButtonHover ( UIElement button ) : void
button FSO.Client.UI.Framework.UIElement
return void

PreDraw() public method

public PreDraw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
batch FSO.Client.UI.Framework.UISpriteBatch
return void

RemoveSimScene() public method

public RemoveSimScene ( ) : void
return void

RenderMenu() public method

public RenderMenu ( ) : void
return void

RotateHeadCam() public method

public RotateHeadCam ( Vector2 point ) : void
point Vector2
return void

UIPieMenu() public method

public UIPieMenu ( List pie, FSO.SimAntics.VMEntity obj, FSO.SimAntics.VMEntity caller, UILotControl parent ) : System
pie List
obj FSO.SimAntics.VMEntity
caller FSO.SimAntics.VMEntity
parent UILotControl
return System

Update() public method

public Update ( FSO state ) : void
state FSO
return void

UpdateHeadPosition() public method

public UpdateHeadPosition ( int x, int y ) : void
x int
y int
return void

Property Details

m_Bg public property

public UIImage,FSO.Client.UI.Controls m_Bg
return FSO.Client.UI.Controls.UIImage

m_Caller public property

public VMEntity,FSO.SimAntics m_Caller
return FSO.SimAntics.VMEntity

m_CurrentItem public property

public UIPieMenuItem,FSO.Client.UI.Panels m_CurrentItem
return UIPieMenuItem

m_Obj public property

public VMEntity,FSO.SimAntics m_Obj
return FSO.SimAntics.VMEntity

m_Parent public property

public UILotControl,FSO.Client.UI.Panels m_Parent
return UILotControl

m_PieButtons public property

public List m_PieButtons
return List

m_PieTree public property

public UIPieMenuItem,FSO.Client.UI.Panels m_PieTree
return UIPieMenuItem