C# 클래스 fCraft.Drawing.DrawOperation

Abstract class representing a drawing operation.
파일 보기 프로젝트 열기: GlennMR/800craft 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Coords Vector3I

보호된 프로퍼티들

프로퍼티 타입 설명
UndoState UndoState

Private Properties

프로퍼티 타입 설명
End void
OnCancellation void
OnCompletion void
StartBatch void
TestForDuplicateModification void

공개 메소드들

메소드 설명
Begin ( ) : bool
Cancel ( ) : void
DrawBatch ( int maxBlocksToDraw ) : int
Prepare ( [ marks ) : bool

보호된 메소드들

메소드 설명
DrawOneBlock ( ) : bool
DrawOperation ( [ player ) : System
LineEnumerator ( Vector3I a, Vector3I b ) : IEnumerable
RaiseBeganEvent ( DrawOperation op ) : void
RaiseBeginningEvent ( DrawOperation op ) : bool
RaiseEndedEvent ( DrawOperation op ) : void

비공개 메소드들

메소드 설명
End ( ) : void
OnCancellation ( ) : void
OnCompletion ( ) : void
StartBatch ( ) : void
TestForDuplicateModification ( ) : void

메소드 상세

Begin() 공개 메소드

public Begin ( ) : bool
리턴 bool

Cancel() 공개 메소드

public Cancel ( ) : void
리턴 void

DrawBatch() 공개 추상적인 메소드

public abstract DrawBatch ( int maxBlocksToDraw ) : int
maxBlocksToDraw int
리턴 int

DrawOneBlock() 보호된 메소드

protected DrawOneBlock ( ) : bool
리턴 bool

DrawOperation() 보호된 메소드

protected DrawOperation ( [ player ) : System
player [
리턴 System

LineEnumerator() 보호된 정적인 메소드

protected static LineEnumerator ( Vector3I a, Vector3I b ) : IEnumerable
a Vector3I
b Vector3I
리턴 IEnumerable

Prepare() 공개 메소드

public Prepare ( [ marks ) : bool
marks [
리턴 bool

RaiseBeganEvent() 보호된 정적인 메소드

protected static RaiseBeganEvent ( DrawOperation op ) : void
op DrawOperation
리턴 void

RaiseBeginningEvent() 보호된 정적인 메소드

protected static RaiseBeginningEvent ( DrawOperation op ) : bool
op DrawOperation
리턴 bool

RaiseEndedEvent() 보호된 정적인 메소드

protected static RaiseEndedEvent ( DrawOperation op ) : void
op DrawOperation
리턴 void

프로퍼티 상세

Coords 공개적으로 프로퍼티

Coordinates that are currently being processed.
public Vector3I Coords
리턴 Vector3I

UndoState 보호되어 있는 프로퍼티

Undo state associated with this operation. Created by DrawOperation.Begin().
protected UndoState,fCraft.Drawing UndoState
리턴 UndoState