C# Класс MegaMan.LevelEditor.TileBrush

Наследование: ITileBrush
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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