C# Class GumRuntime.ElementSaveExtensions

Datei anzeigen Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
CreateGraphicalComponent ( this graphicalElement, ElementSave elementSave, SystemManagers systemManagers ) : void
CreateGueForElement ( ElementSave elementSave, bool fullInstantiation = false ) : GraphicalUiElement
RegisterGueInstantiationType ( string elementName, Type gueInheritingType ) : void
SetGraphicalUiElement ( this elementSave, GraphicalUiElement toReturn, SystemManagers systemManagers ) : void
SetStatesAndCategoriesRecursively ( this graphicalElement, ElementSave elementSave ) : void
SetVariablesRecursively ( this graphicalElement, ElementSave elementSave, Gum stateSave ) : void
SetVariablesTopLevel ( this graphicalElement, ElementSave elementSave, Gum stateSave ) : void
ToGraphicalUiElement ( this elementSave, SystemManagers systemManagers, bool addToManagers ) : GraphicalUiElement

Private Methods

Method Description
AddExposedVariablesRecursively ( this graphicalElement, ElementSave elementSave ) : void
CreateChildrenRecursively ( this graphicalElement, ElementSave elementSave, SystemManagers systemManagers ) : void
SetVariablesRecursively ( this graphicalElement, ElementSave elementSave ) : void

Method Details

CreateGraphicalComponent() public static method

public static CreateGraphicalComponent ( this graphicalElement, ElementSave elementSave, SystemManagers systemManagers ) : void
graphicalElement this
elementSave Gum.DataTypes.ElementSave
systemManagers RenderingLibrary.SystemManagers
return void

CreateGueForElement() public static method

public static CreateGueForElement ( ElementSave elementSave, bool fullInstantiation = false ) : GraphicalUiElement
elementSave ElementSave
fullInstantiation bool
return GraphicalUiElement

RegisterGueInstantiationType() public static method

public static RegisterGueInstantiationType ( string elementName, Type gueInheritingType ) : void
elementName string
gueInheritingType Type
return void

SetGraphicalUiElement() public static method

public static SetGraphicalUiElement ( this elementSave, GraphicalUiElement toReturn, SystemManagers systemManagers ) : void
elementSave this
toReturn GraphicalUiElement
systemManagers SystemManagers
return void

SetStatesAndCategoriesRecursively() public static method

public static SetStatesAndCategoriesRecursively ( this graphicalElement, ElementSave elementSave ) : void
graphicalElement this
elementSave ElementSave
return void

SetVariablesRecursively() public static method

public static SetVariablesRecursively ( this graphicalElement, ElementSave elementSave, Gum stateSave ) : void
graphicalElement this
elementSave ElementSave
stateSave Gum
return void

SetVariablesTopLevel() public static method

public static SetVariablesTopLevel ( this graphicalElement, ElementSave elementSave, Gum stateSave ) : void
graphicalElement this
elementSave ElementSave
stateSave Gum
return void

ToGraphicalUiElement() public static method

public static ToGraphicalUiElement ( this elementSave, SystemManagers systemManagers, bool addToManagers ) : GraphicalUiElement
elementSave this
systemManagers SystemManagers
addToManagers bool
return GraphicalUiElement