C# Class MegaMan.LevelEditor.ScreenDocument

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

Private Properties

Property Type Description
EntityBounded bool

Public Methods

Method Description
AddEntity ( Entity entity, Point location ) : EntityPlacement
AddEntity ( EntityPlacement info ) : void
ChangeTile ( int tile_x, int tile_y, int tile_id ) : void
DrawEntities ( Graphics graphics ) : void
DrawOn ( Graphics graphics ) : void
FindEntityAt ( Point location ) : int
GetEntity ( int index ) : EntityPlacement
RemoveEntity ( Entity entity, Point location ) : void
RemoveEntity ( EntityPlacement info ) : void
Resize ( int width, int height ) : void
ScreenDocument ( ScreenInfo screen, StageDocument stage ) : System
SelectEntity ( int index ) : void
TileAt ( int x, int y ) : Tile

Private Methods

Method Description
EntityBounded ( EntityPlacement entityInfo, Point location ) : bool

Method Details

AddEntity() public method

public AddEntity ( Entity entity, Point location ) : EntityPlacement
entity Entity
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

DrawEntities() public method

public DrawEntities ( Graphics graphics ) : void
graphics System.Drawing.Graphics
return void

DrawOn() public method

public DrawOn ( Graphics graphics ) : void
graphics System.Drawing.Graphics
return void

FindEntityAt() public method

public FindEntityAt ( Point location ) : int
location Point
return int

GetEntity() public method

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

RemoveEntity() public method

public RemoveEntity ( Entity entity, Point location ) : void
entity Entity
location Point
return void

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

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

TileAt() public method

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