C# Class SadConsoleEditor.Editors.SceneEditor

Inheritance: IEditor
Show file Open project: Thraka/SadConsoleEditor Class Usage Examples

Public Properties

Property Type Description
GameObjectPanel Panels.GameObjectManagementPanel
HotspotPanel Panels.HotspotToolPanel
Hotspots List
LinkedGameObjects GameObject>.Dictionary
Objects List
Zones List>
ZonesPanel Panels.RegionManagementPanel

Private Properties

Property Type Description
ClearEntities void
ClearZones void
FixLinkedObjectTitles void
ToolsListBox_SelectedItemChanged void

Public Methods

Method 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

Method Description
ClearEntities ( ) : void
ClearZones ( ) : void
FixLinkedObjectTitles ( ) : void
ToolsListBox_SelectedItemChanged ( object sender, SadConsole e ) : void

Method Details

ClearHotspots() public method

public ClearHotspots ( ) : void
return void

Load() public method

public Load ( string file, FileLoaders loader ) : void
file string
loader FileLoaders
return void

LoadEntity() public method

public LoadEntity ( GameObject entity ) : bool
entity SadConsole.Game.GameObject
return bool

LoadHotspot() public method

public LoadHotspot ( Hotspot spot ) : bool
spot SadConsole.Game.Hotspot
return bool

LoadZone() public method

public LoadZone ( Zone zone ) : bool
zone SadConsole.Game.Zone
return bool

Move() public method

public Move ( int x, int y ) : void
x int
y int
return void

New() public method

public New ( Color foreground, Color background, int width, int height ) : void
foreground Color
background Color
width int
height int
return void

OnClosed() public method

public OnClosed ( ) : void
return void

OnDeselected() public method

public OnDeselected ( ) : void
return void

OnSelected() public method

public OnSelected ( ) : void
return void

ProcessKeyboard() public method

public ProcessKeyboard ( KeyboardInfo info ) : bool
info SadConsole.Input.KeyboardInfo
return bool

ProcessMouse() public method

public ProcessMouse ( IConsole console, SadConsole info ) : bool
console IConsole
info SadConsole
return bool

RemoveGameObject() public method

public RemoveGameObject ( ResizableObject gameObject ) : void
gameObject ResizableObject
return void

RenameGameObject() public method

public RenameGameObject ( ResizableObject gameObject, string newName ) : void
gameObject ResizableObject
newName string
return void

Render() public method

public Render ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Resize() public method

public Resize ( int width, int height ) : void
width int
height int
return void

Save() public method

public Save ( ) : void
return void

SceneEditor() public method

public SceneEditor ( ) : System
return System

Update() public method

public Update ( ) : void
return void

Property Details

GameObjectPanel public property

public Panels.GameObjectManagementPanel GameObjectPanel
return Panels.GameObjectManagementPanel

HotspotPanel public property

public Panels.HotspotToolPanel HotspotPanel
return Panels.HotspotToolPanel

Hotspots public property

public List Hotspots
return List

LinkedGameObjects public property

public Dictionary LinkedGameObjects
return GameObject>.Dictionary

Objects public property

public List Objects
return List

Zones public property

public List> Zones
return List>

ZonesPanel public property

public Panels.RegionManagementPanel ZonesPanel
return Panels.RegionManagementPanel