C# 클래스 fCraft.Drawing.PasteBrush

Brush that makes a tiled pattern out of copied blocks.
상속: IBrush
파일 보기 프로젝트 열기: fragmer/fCraft

Private Properties

프로퍼티 타입 설명
Mod int

공개 메소드들

메소드 설명
Begin ( Player player, DrawOperation op ) : bool
Clone ( ) : IBrush
End ( ) : void
NextBlock ( DrawOperation op ) : Block
PasteBrush ( ) : System

Creates a new all-inclusive Paste brush.

PasteBrush ( [ blocks, bool not ) : System

Creates a new filtering Paste or PasteNot brush.

비공개 메소드들

메소드 설명
Mod ( int x, int m ) : int

메소드 상세

Begin() 공개 메소드

public Begin ( Player player, DrawOperation op ) : bool
player Player
op DrawOperation
리턴 bool

Clone() 공개 메소드

public Clone ( ) : IBrush
리턴 IBrush

End() 공개 메소드

public End ( ) : void
리턴 void

NextBlock() 공개 메소드

public NextBlock ( DrawOperation op ) : Block
op DrawOperation
리턴 Block

PasteBrush() 공개 메소드

Creates a new all-inclusive Paste brush.
public PasteBrush ( ) : System
리턴 System

PasteBrush() 공개 메소드

Creates a new filtering Paste or PasteNot brush.
blocks is null blocks is 0-length
public PasteBrush ( [ blocks, bool not ) : System
blocks [ Array of block types for filtering. May not be null or empty.
not bool Whether filtering should be inclusive (Paste) or exclusive (PasteNot).
리턴 System