C# Class SadConsoleEditor.Editors.GameObjectEditor

Inheritance: IEditor
显示文件 Open project: Thraka/SadConsoleEditor Class Usage Examples

Public Properties

Property Type Description
LinkedEditor SceneEditor

Private Properties

Property Type Description
SelectedAnimationChanged void
SelectedFrameChanged void
SyncSpecialLayerToAnimation void
ToolsListBox_SelectedItemChanged void

Public Methods

Method Description
GameObjectEditor ( ) : System
Load ( string file, FileLoaders loader ) : void
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
Render ( ) : void
Reset ( ) : void
Resize ( int width, int height ) : void
Save ( ) : void
SetAnimationCenter ( Point center ) : void
SetEntity ( GameObject entity ) : void
Update ( ) : void

Private Methods

Method Description
SelectedAnimationChanged ( AnimatedTextSurface animation ) : void
SelectedFrameChanged ( TextSurfaceBasic frame ) : void
SyncSpecialLayerToAnimation ( ) : void
ToolsListBox_SelectedItemChanged ( object sender, SadConsole e ) : void

Method Details

GameObjectEditor() public method

public GameObjectEditor ( ) : System
return System

Load() public method

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

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 KeyboardInfo
return bool

ProcessMouse() public method

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

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

SetAnimationCenter() public method

public SetAnimationCenter ( Point center ) : void
center Point
return void

SetEntity() public method

public SetEntity ( GameObject entity ) : void
entity GameObject
return void

Update() public method

public Update ( ) : void
return void

Property Details

LinkedEditor public_oe property

public SceneEditor LinkedEditor
return SceneEditor