C# Class GlueView.SaveClasses.ElementSettingsSave

显示文件 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
ElementCameraSaves List

Public Methods

Method Description
Load ( string fileName ) : ElementSettingsSave
Save ( string fileName ) : void
SetCameraToSavedValues ( IElement element, Camera camera ) : bool

Sets the argument Camera to the saved Camera values associated with the argument IElement, or does nothing if there is not an entry for the IElement.

SetElementCameraSave ( IElement element, Camera camera ) : void
this ( string elementName ) : ElementCameraSave

Method Details

Load() public static method

public static Load ( string fileName ) : ElementSettingsSave
fileName string
return ElementSettingsSave

Save() public method

public Save ( string fileName ) : void
fileName string
return void

SetCameraToSavedValues() public method

Sets the argument Camera to the saved Camera values associated with the argument IElement, or does nothing if there is not an entry for the IElement.
public SetCameraToSavedValues ( IElement element, Camera camera ) : bool
element IElement The element to use as the key when searching for Camera values.
camera FlatRedBall.Camera The camera to assign.
return bool

SetElementCameraSave() public method

public SetElementCameraSave ( IElement element, Camera camera ) : void
element IElement
camera FlatRedBall.Camera
return void

this() public method

public this ( string elementName ) : ElementCameraSave
elementName string
return ElementCameraSave

Property Details

ElementCameraSaves public_oe property

public List ElementCameraSaves
return List