C# Class SadConsoleEditor.Editors.GameScreenEditor

Inheritance: IEditor
Exibir arquivo Open project: Thraka/SadConsoleEditor

Public Properties

Property Type Description
GameObjects List

Public Methods

Method Description
AddNewLayer ( string name ) : void
GameScreenEditor ( ) : System
GetPosition ( ) : Point
Load ( string file ) : void
LoadLayer ( string file ) : bool
MoveLayerDown ( int index ) : void
MoveLayerUp ( int index ) : void
Position ( Point newPosition ) : void
Position ( int x, int y ) : void
ProcessKeyboard ( KeyboardInfo info ) : void
ProcessMouse ( MouseInfo info ) : void
RemoveLayer ( int index ) : void
Render ( ) : void
Reset ( ) : void
Resize ( int width, int height ) : void
Save ( string file ) : void
SaveLayer ( int index, string file ) : void
SetActiveLayer ( int index ) : void
SyncObjectsToLayer ( ) : void

Draws all of the game objects to the game object render layer

ToString ( ) : string

Method Details

AddNewLayer() public method

public AddNewLayer ( string name ) : void
name string
return void

GameScreenEditor() public method

public GameScreenEditor ( ) : System
return System

GetPosition() public method

public GetPosition ( ) : Point
return Point

Load() public method

public Load ( string file ) : void
file string
return void

LoadLayer() public method

public LoadLayer ( string file ) : bool
file string
return bool

MoveLayerDown() public method

public MoveLayerDown ( int index ) : void
index int
return void

MoveLayerUp() public method

public MoveLayerUp ( int index ) : void
index int
return void

Position() public method

public Position ( Point newPosition ) : void
newPosition Point
return void

Position() public method

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

ProcessKeyboard() public method

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

ProcessMouse() public method

public ProcessMouse ( MouseInfo info ) : void
info SadConsole.Input.MouseInfo
return void

RemoveLayer() public method

public RemoveLayer ( int index ) : void
index int
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 ( string file ) : void
file string
return void

SaveLayer() public method

public SaveLayer ( int index, string file ) : void
index int
file string
return void

SetActiveLayer() public method

public SetActiveLayer ( int index ) : void
index int
return void

SyncObjectsToLayer() public method

Draws all of the game objects to the game object render layer
public SyncObjectsToLayer ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

GameObjects public_oe property

public List GameObjects
return List