C# Class MegaMan.Editor.Bll.ScreenDocument

ファイルを表示 Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddEntity ( EntityInfo entity, Point location ) : EntityPlacement
AddEntity ( EntityPlacement info ) : void
ChangeTile ( int tile_x, int tile_y, int tile_id ) : void
CleaveVertically ( int leftHalfTileWidth ) : void
GetEntity ( int index ) : EntityPlacement
RemoveEntity ( EntityPlacement info ) : void
Resize ( int width, int height ) : void
ResizeTopLeft ( int width, int height ) : void
ScreenDocument ( ScreenInfo screen, StageDocument stage ) : System
SelectEntity ( int index ) : void
SetSelection ( int tx, int ty, int width, int height ) : void
SeverAllJoins ( ) : void
TileAt ( int x, int y ) : Tile

Method Details

AddEntity() public method

public AddEntity ( EntityInfo entity, Point location ) : EntityPlacement
entity MegaMan.Common.Entities.EntityInfo
location Point
return MegaMan.Common.EntityPlacement

AddEntity() public method

public AddEntity ( EntityPlacement info ) : void
info MegaMan.Common.EntityPlacement
return void

ChangeTile() public method

public ChangeTile ( int tile_x, int tile_y, int tile_id ) : void
tile_x int
tile_y int
tile_id int
return void

CleaveVertically() public method

public CleaveVertically ( int leftHalfTileWidth ) : void
leftHalfTileWidth int
return void

GetEntity() public method

public GetEntity ( int index ) : EntityPlacement
index int
return MegaMan.Common.EntityPlacement

RemoveEntity() public method

public RemoveEntity ( EntityPlacement info ) : void
info MegaMan.Common.EntityPlacement
return void

Resize() public method

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

ResizeTopLeft() public method

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

ScreenDocument() public method

public ScreenDocument ( ScreenInfo screen, StageDocument stage ) : System
screen MegaMan.Common.ScreenInfo
stage StageDocument
return System

SelectEntity() public method

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

SetSelection() public method

public SetSelection ( int tx, int ty, int width, int height ) : void
tx int
ty int
width int
height int
return void

SeverAllJoins() public method

public SeverAllJoins ( ) : void
return void

TileAt() public method

public TileAt ( int x, int y ) : Tile
x int
y int
return MegaMan.Common.Tile