C# 클래스 MegaMan.LevelEditor.TileBrush

상속: ITileBrush
파일 보기 프로젝트 열기: Tesserex/C--MegaMan-Engine 1 사용 예제들

공개 메소드들

메소드 설명
AddTile ( Tile tile, int x, int y ) : void
Cells ( ) : IEnumerable
DrawOn ( ScreenDocument screen, int tile_x, int tile_y ) : ITileBrush

Draws the brush onto the given screen at the given tile location. Returns an "undo brush" - a brush of all tiles that were overwritten. Returns null if no tiles were changed.

DrawOn ( Graphics g, int x, int y ) : void
Reset ( int width, int height ) : void
TileBrush ( int width, int height ) : System

메소드 상세

AddTile() 공개 메소드

public AddTile ( Tile tile, int x, int y ) : void
tile MegaMan.Common.Tile
x int
y int
리턴 void

Cells() 공개 메소드

public Cells ( ) : IEnumerable
리턴 IEnumerable

DrawOn() 공개 메소드

Draws the brush onto the given screen at the given tile location. Returns an "undo brush" - a brush of all tiles that were overwritten. Returns null if no tiles were changed.
public DrawOn ( ScreenDocument screen, int tile_x, int tile_y ) : ITileBrush
screen ScreenDocument
tile_x int
tile_y int
리턴 ITileBrush

DrawOn() 공개 메소드

public DrawOn ( Graphics g, int x, int y ) : void
g System.Drawing.Graphics
x int
y int
리턴 void

Reset() 공개 메소드

public Reset ( int width, int height ) : void
width int
height int
리턴 void

TileBrush() 공개 메소드

public TileBrush ( int width, int height ) : System
width int
height int
리턴 System