C# 클래스 Oglr.Core.Model

상속: IModel
파일 보기 프로젝트 열기: SteveDunn/oglr

공개 메소드들

메소드 설명
AddCustomProperty ( ITreeItem treeItem, CustomProperty newCustomProperty ) : void
AddEditor ( ItemEditor editor ) : void
AddEditorToSelection ( ItemEditor editor ) : void
AddNewLayer ( LayerEditor layer ) : void
AlignHorizontally ( ) : void
AlignRotation ( ) : void
AlignScale ( ) : void
AlignVertically ( ) : void
AttachBehaviour ( ITreeItem target, IBehaviour behaviour ) : void
CopySelectedItemsToLayer ( LayerEditor layer ) : void
CreateNewLevel ( ) : void
DeleteLayer ( LayerEditor layer ) : void
DeleteSelectedItems ( ) : void
DeserialiseLevel ( System.Xml.Linq.XElement xml ) : void
DuplicateLayer ( LayerEditor layer ) : void
LoadLevel ( LevelEditor level ) : void
Model ( IMemento memento ) : System
MoveEditorDown ( ItemEditor editor ) : void
MoveEditorUp ( ItemEditor i ) : void
MoveItemToLayer ( ItemEditor itemToMove, LayerEditor layer, ItemEditor itemToMoveNewItemUnder ) : void
MoveLayerDown ( LayerEditor layer ) : void
MoveLayerUp ( LayerEditor layer ) : void
MoveSelectedItemsToLayer ( LayerEditor chosenLayer ) : void
NotifyChanged ( IEnumerable items ) : void
NotifyChanged ( ItemEditor item ) : void
RemoveCustomPropertyItem ( ITreeItem item, DictionaryPropertyDescriptor propertyDescriptor ) : void
RenameItem ( ITreeItem treeItem, string newName ) : void
SaveLevel ( string filename ) : void
SelectBehaviour ( ITreeItem behaviour ) : void
SelectEditor ( ItemEditor editor ) : void
SelectEditors ( SelectedEditors itemEditors ) : void
SelectEverythingInSelectedLayer ( ) : void
SelectLayer ( LayerEditor layer ) : void
SelectLevel ( ) : void
ToggleSelectionOnItem ( ItemEditor item ) : void

비공개 메소드들

메소드 설명
clearSelectedEditors ( ) : void
setActiveLayerIfItsDifferent ( LayerEditor layer ) : void
tryFire ( Func func, IEnumerable items ) : void
tryFire ( Func func, ITreeItem item ) : void

메소드 상세

AddCustomProperty() 공개 메소드

public AddCustomProperty ( ITreeItem treeItem, CustomProperty newCustomProperty ) : void
treeItem ITreeItem
newCustomProperty Oglr.InGame.CustomProperty
리턴 void

AddEditor() 공개 메소드

public AddEditor ( ItemEditor editor ) : void
editor ItemEditor
리턴 void

AddEditorToSelection() 공개 메소드

public AddEditorToSelection ( ItemEditor editor ) : void
editor ItemEditor
리턴 void

AddNewLayer() 공개 메소드

public AddNewLayer ( LayerEditor layer ) : void
layer LayerEditor
리턴 void

AlignHorizontally() 공개 메소드

public AlignHorizontally ( ) : void
리턴 void

AlignRotation() 공개 메소드

public AlignRotation ( ) : void
리턴 void

AlignScale() 공개 메소드

public AlignScale ( ) : void
리턴 void

AlignVertically() 공개 메소드

public AlignVertically ( ) : void
리턴 void

AttachBehaviour() 공개 메소드

public AttachBehaviour ( ITreeItem target, IBehaviour behaviour ) : void
target ITreeItem
behaviour IBehaviour
리턴 void

CopySelectedItemsToLayer() 공개 메소드

public CopySelectedItemsToLayer ( LayerEditor layer ) : void
layer LayerEditor
리턴 void

CreateNewLevel() 공개 메소드

public CreateNewLevel ( ) : void
리턴 void

DeleteLayer() 공개 메소드

public DeleteLayer ( LayerEditor layer ) : void
layer LayerEditor
리턴 void

DeleteSelectedItems() 공개 메소드

public DeleteSelectedItems ( ) : void
리턴 void

DeserialiseLevel() 공개 메소드

public DeserialiseLevel ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
리턴 void

DuplicateLayer() 공개 메소드

public DuplicateLayer ( LayerEditor layer ) : void
layer LayerEditor
리턴 void

LoadLevel() 공개 메소드

public LoadLevel ( LevelEditor level ) : void
level LevelEditor
리턴 void

Model() 공개 메소드

public Model ( IMemento memento ) : System
memento IMemento
리턴 System

MoveEditorDown() 공개 메소드

public MoveEditorDown ( ItemEditor editor ) : void
editor ItemEditor
리턴 void

MoveEditorUp() 공개 메소드

public MoveEditorUp ( ItemEditor i ) : void
i ItemEditor
리턴 void

MoveItemToLayer() 공개 메소드

public MoveItemToLayer ( ItemEditor itemToMove, LayerEditor layer, ItemEditor itemToMoveNewItemUnder ) : void
itemToMove ItemEditor
layer LayerEditor
itemToMoveNewItemUnder ItemEditor
리턴 void

MoveLayerDown() 공개 메소드

public MoveLayerDown ( LayerEditor layer ) : void
layer LayerEditor
리턴 void

MoveLayerUp() 공개 메소드

public MoveLayerUp ( LayerEditor layer ) : void
layer LayerEditor
리턴 void

MoveSelectedItemsToLayer() 공개 메소드

public MoveSelectedItemsToLayer ( LayerEditor chosenLayer ) : void
chosenLayer LayerEditor
리턴 void

NotifyChanged() 공개 메소드

public NotifyChanged ( IEnumerable items ) : void
items IEnumerable
리턴 void

NotifyChanged() 공개 메소드

public NotifyChanged ( ItemEditor item ) : void
item ItemEditor
리턴 void

RemoveCustomPropertyItem() 공개 메소드

public RemoveCustomPropertyItem ( ITreeItem item, DictionaryPropertyDescriptor propertyDescriptor ) : void
item ITreeItem
propertyDescriptor DictionaryPropertyDescriptor
리턴 void

RenameItem() 공개 메소드

public RenameItem ( ITreeItem treeItem, string newName ) : void
treeItem ITreeItem
newName string
리턴 void

SaveLevel() 공개 메소드

public SaveLevel ( string filename ) : void
filename string
리턴 void

SelectBehaviour() 공개 메소드

public SelectBehaviour ( ITreeItem behaviour ) : void
behaviour ITreeItem
리턴 void

SelectEditor() 공개 메소드

public SelectEditor ( ItemEditor editor ) : void
editor ItemEditor
리턴 void

SelectEditors() 공개 메소드

public SelectEditors ( SelectedEditors itemEditors ) : void
itemEditors SelectedEditors
리턴 void

SelectEverythingInSelectedLayer() 공개 메소드

public SelectEverythingInSelectedLayer ( ) : void
리턴 void

SelectLayer() 공개 메소드

public SelectLayer ( LayerEditor layer ) : void
layer LayerEditor
리턴 void

SelectLevel() 공개 메소드

public SelectLevel ( ) : void
리턴 void

ToggleSelectionOnItem() 공개 메소드

public ToggleSelectionOnItem ( ItemEditor item ) : void
item ItemEditor
리턴 void