C# Class SadConsoleEditor.Editors.SceneEditor

Inheritance: IEditor
Afficher le fichier Open project: Thraka/SadConsoleEditor Class Usage Examples

Méthodes publiques

Свойство Type Description
GameObjectPanel Panels.GameObjectManagementPanel
HotspotPanel Panels.HotspotToolPanel
Hotspots List
LinkedGameObjects GameObject>.Dictionary
Objects List
Zones List>
ZonesPanel Panels.RegionManagementPanel

Private Properties

Свойство Type Description
ClearEntities void
ClearZones void
FixLinkedObjectTitles void
ToolsListBox_SelectedItemChanged void

Méthodes publiques

Méthode Description
ClearHotspots ( ) : void
Load ( string file, FileLoaders loader ) : void
LoadEntity ( GameObject entity ) : bool
LoadHotspot ( Hotspot spot ) : bool
LoadZone ( Zone zone ) : bool
Move ( int x, int y ) : void
New ( Color foreground, Color background, int width, int height ) : void
OnClosed ( ) : void
OnDeselected ( ) : void
OnSelected ( ) : void
ProcessKeyboard ( KeyboardInfo info ) : bool
ProcessMouse ( IConsole console, SadConsole info ) : bool
RemoveGameObject ( ResizableObject gameObject ) : void
RenameGameObject ( ResizableObject gameObject, string newName ) : void
Render ( ) : void
Reset ( ) : void
Resize ( int width, int height ) : void
Save ( ) : void
SceneEditor ( ) : System
Update ( ) : void

Private Methods

Méthode Description
ClearEntities ( ) : void
ClearZones ( ) : void
FixLinkedObjectTitles ( ) : void
ToolsListBox_SelectedItemChanged ( object sender, SadConsole e ) : void

Method Details

ClearHotspots() public méthode

public ClearHotspots ( ) : void
Résultat void

Load() public méthode

public Load ( string file, FileLoaders loader ) : void
file string
loader FileLoaders
Résultat void

LoadEntity() public méthode

public LoadEntity ( GameObject entity ) : bool
entity SadConsole.Game.GameObject
Résultat bool

LoadHotspot() public méthode

public LoadHotspot ( Hotspot spot ) : bool
spot SadConsole.Game.Hotspot
Résultat bool

LoadZone() public méthode

public LoadZone ( Zone zone ) : bool
zone SadConsole.Game.Zone
Résultat bool

Move() public méthode

public Move ( int x, int y ) : void
x int
y int
Résultat void

New() public méthode

public New ( Color foreground, Color background, int width, int height ) : void
foreground Color
background Color
width int
height int
Résultat void

OnClosed() public méthode

public OnClosed ( ) : void
Résultat void

OnDeselected() public méthode

public OnDeselected ( ) : void
Résultat void

OnSelected() public méthode

public OnSelected ( ) : void
Résultat void

ProcessKeyboard() public méthode

public ProcessKeyboard ( KeyboardInfo info ) : bool
info SadConsole.Input.KeyboardInfo
Résultat bool

ProcessMouse() public méthode

public ProcessMouse ( IConsole console, SadConsole info ) : bool
console IConsole
info SadConsole
Résultat bool

RemoveGameObject() public méthode

public RemoveGameObject ( ResizableObject gameObject ) : void
gameObject ResizableObject
Résultat void

RenameGameObject() public méthode

public RenameGameObject ( ResizableObject gameObject, string newName ) : void
gameObject ResizableObject
newName string
Résultat void

Render() public méthode

public Render ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

Resize() public méthode

public Resize ( int width, int height ) : void
width int
height int
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void

SceneEditor() public méthode

public SceneEditor ( ) : System
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

GameObjectPanel public_oe property

public Panels.GameObjectManagementPanel GameObjectPanel
Résultat Panels.GameObjectManagementPanel

HotspotPanel public_oe property

public Panels.HotspotToolPanel HotspotPanel
Résultat Panels.HotspotToolPanel

Hotspots public_oe property

public List Hotspots
Résultat List

LinkedGameObjects public_oe property

public Dictionary LinkedGameObjects
Résultat GameObject>.Dictionary

Objects public_oe property

public List Objects
Résultat List

Zones public_oe property

public List> Zones
Résultat List>

ZonesPanel public_oe property

public Panels.RegionManagementPanel ZonesPanel
Résultat Panels.RegionManagementPanel