C# Class Oglr.Core.LevelEditor

Inheritance: ICustomTypeDescriptor, ITreeItem
Afficher le fichier Open project: SteveDunn/oglr Class Usage Examples

Méthodes publiques

Méthode Description
AddBehaviour ( IBehaviour behaviour ) : void
AddEditor ( ItemEditor editor ) : void
AddEditors ( IEnumerable itemEditors ) : void
ClearSelectedEditors ( ) : void
ContainsAnythingNamed ( string name ) : bool
CopySelectedEditorsToLayer ( LayerEditor destinationLayer ) : IEnumerable
GenerateId ( int number ) : int
GetItemByName ( string name ) : ItemEditor
GetNextItemNumber ( ) : int
GetUniqueNameBasedOn ( string name ) : string
LevelEditor ( ) : System
LevelEditor ( System.Xml.Linq.XElement xml ) : System
MoveSelectedIditorsToLayer ( LayerEditor chosenLayer ) : void
PropertiesChanged ( System.Windows.Forms.PropertyValueChangedEventArgs whatChanged ) : void
RenameTo ( string name ) : void
SaveAsXmlToDisk ( string filename ) : void
SelectEditor ( ItemEditor editor ) : void
SelectEditors ( SelectedEditors editors ) : void
SelectEverythingInSelectedLayer ( ) : void
SelectLayer ( LayerEditor value ) : void
SetLegacyEditorInfo ( LegacyEditorInfo legacyEditorInfo ) : void

Sets the editor info for this level from properties obtained from legacy version of Gleed2D.

ToXml ( ) : System.Xml.Linq.XElement
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
ICustomTypeDescriptor ( ) : AttributeCollection
ICustomTypeDescriptor ( ) : System.ComponentModel.EventDescriptor
ICustomTypeDescriptor ( ) : EventDescriptorCollection
ICustomTypeDescriptor ( Attribute attributes ) : EventDescriptorCollection
ICustomTypeDescriptor ( ) : PropertyDescriptor
ICustomTypeDescriptor ( ) : PropertyDescriptorCollection
ICustomTypeDescriptor ( Attribute attributes ) : PropertyDescriptorCollection
ICustomTypeDescriptor ( ) : TypeConverter
ICustomTypeDescriptor ( PropertyDescriptor pd ) : object
ICustomTypeDescriptor ( Type editorBaseType ) : object
ICustomTypeDescriptor ( ) : string
allEditors ( ) : IEnumerable
clearAllSelections ( ) : void
generateId ( ) : int

Method Details

AddBehaviour() public méthode

public AddBehaviour ( IBehaviour behaviour ) : void
behaviour IBehaviour
Résultat void

AddEditor() public méthode

public AddEditor ( ItemEditor editor ) : void
editor ItemEditor
Résultat void

AddEditors() public méthode

public AddEditors ( IEnumerable itemEditors ) : void
itemEditors IEnumerable
Résultat void

ClearSelectedEditors() public méthode

public ClearSelectedEditors ( ) : void
Résultat void

ContainsAnythingNamed() public méthode

public ContainsAnythingNamed ( string name ) : bool
name string
Résultat bool

CopySelectedEditorsToLayer() public méthode

public CopySelectedEditorsToLayer ( LayerEditor destinationLayer ) : IEnumerable
destinationLayer LayerEditor
Résultat IEnumerable

GenerateId() public méthode

public GenerateId ( int number ) : int
number int
Résultat int

GetItemByName() public méthode

public GetItemByName ( string name ) : ItemEditor
name string
Résultat ItemEditor

GetNextItemNumber() public méthode

public GetNextItemNumber ( ) : int
Résultat int

GetUniqueNameBasedOn() public méthode

public GetUniqueNameBasedOn ( string name ) : string
name string
Résultat string

LevelEditor() public méthode

public LevelEditor ( ) : System
Résultat System

LevelEditor() public méthode

public LevelEditor ( System.Xml.Linq.XElement xml ) : System
xml System.Xml.Linq.XElement
Résultat System

MoveSelectedIditorsToLayer() public méthode

public MoveSelectedIditorsToLayer ( LayerEditor chosenLayer ) : void
chosenLayer LayerEditor
Résultat void

PropertiesChanged() public méthode

public PropertiesChanged ( System.Windows.Forms.PropertyValueChangedEventArgs whatChanged ) : void
whatChanged System.Windows.Forms.PropertyValueChangedEventArgs
Résultat void

RenameTo() public méthode

public RenameTo ( string name ) : void
name string
Résultat void

SaveAsXmlToDisk() public méthode

public SaveAsXmlToDisk ( string filename ) : void
filename string
Résultat void

SelectEditor() public méthode

public SelectEditor ( ItemEditor editor ) : void
editor ItemEditor
Résultat void

SelectEditors() public méthode

public SelectEditors ( SelectedEditors editors ) : void
editors SelectedEditors
Résultat void

SelectEverythingInSelectedLayer() public méthode

public SelectEverythingInSelectedLayer ( ) : void
Résultat void

SelectLayer() public méthode

public SelectLayer ( LayerEditor value ) : void
value LayerEditor
Résultat void

SetLegacyEditorInfo() public méthode

Sets the editor info for this level from properties obtained from legacy version of Gleed2D.
public SetLegacyEditorInfo ( LegacyEditorInfo legacyEditorInfo ) : void
legacyEditorInfo LegacyEditorInfo
Résultat void

ToXml() public méthode

public ToXml ( ) : System.Xml.Linq.XElement
Résultat System.Xml.Linq.XElement

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void