C# Class MegaMan.Editor.Bll.StageDocument

显示文件 Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Public Methods

Method Description
AddContinuePoint ( ScreenDocument screenDocument, Point location ) : void
AddJoin ( Join join ) : void
AddScreen ( string name, int tile_width, int tile_height ) : ScreenDocument
AddScreen ( ScreenInfo screen ) : void
ChangeTileset ( TilesetDocument tileset ) : void
FindNextScreenId ( ) : int
PushHistoryAction ( IUndoableAction action ) : void
Redo ( ) : void
RemoveJoin ( Join join ) : void
RemoveScreen ( ScreenDocument screen ) : void
SetStartPoint ( ScreenDocument screenDocument, Point location ) : void
StageDocument ( MegaMan.Editor.Bll.ProjectDocument project ) : System
StageDocument ( MegaMan.Editor.Bll.ProjectDocument project, StageInfo info, StageLinkInfo linkInfo ) : System
Undo ( ) : void

Private Methods

Method Description
OnScreenResized ( ScreenDocument screen, int width, int height ) : void
ScreenRenamed ( string oldName, string newName ) : void
WrapScreen ( MegaMan screen ) : ScreenDocument

Method Details

AddContinuePoint() public method

public AddContinuePoint ( ScreenDocument screenDocument, Point location ) : void
screenDocument ScreenDocument
location Point
return void

AddJoin() public method

public AddJoin ( Join join ) : void
join MegaMan.Common.Join
return void

AddScreen() public method

public AddScreen ( string name, int tile_width, int tile_height ) : ScreenDocument
name string
tile_width int
tile_height int
return ScreenDocument

AddScreen() public method

public AddScreen ( ScreenInfo screen ) : void
screen MegaMan.Common.ScreenInfo
return void

ChangeTileset() public method

public ChangeTileset ( TilesetDocument tileset ) : void
tileset TilesetDocument
return void

FindNextScreenId() public method

public FindNextScreenId ( ) : int
return int

PushHistoryAction() public method

public PushHistoryAction ( IUndoableAction action ) : void
action IUndoableAction
return void

Redo() public method

public Redo ( ) : void
return void

RemoveJoin() public method

public RemoveJoin ( Join join ) : void
join MegaMan.Common.Join
return void

RemoveScreen() public method

public RemoveScreen ( ScreenDocument screen ) : void
screen ScreenDocument
return void

SetStartPoint() public method

public SetStartPoint ( ScreenDocument screenDocument, Point location ) : void
screenDocument ScreenDocument
location Point
return void

StageDocument() public method

public StageDocument ( MegaMan.Editor.Bll.ProjectDocument project ) : System
project MegaMan.Editor.Bll.ProjectDocument
return System

StageDocument() public method

public StageDocument ( MegaMan.Editor.Bll.ProjectDocument project, StageInfo info, StageLinkInfo linkInfo ) : System
project MegaMan.Editor.Bll.ProjectDocument
info MegaMan.Common.StageInfo
linkInfo MegaMan.Common.StageLinkInfo
return System

Undo() public method

public Undo ( ) : void
return void