C# Class fCraft.Drawing.DrawOperation

Abstract class representing a drawing operation.
Afficher le fichier Open project: GlennMR/800craft Class Usage Examples

Méthodes publiques

Свойство Type Description
Coords Vector3I

Protected Properties

Свойство Type Description
UndoState UndoState

Private Properties

Свойство Type Description
End void
OnCancellation void
OnCompletion void
StartBatch void
TestForDuplicateModification void

Méthodes publiques

Méthode Description
Begin ( ) : bool
Cancel ( ) : void
DrawBatch ( int maxBlocksToDraw ) : int
Prepare ( [ marks ) : bool

Méthodes protégées

Méthode Description
DrawOneBlock ( ) : bool
DrawOperation ( [ player ) : System
LineEnumerator ( Vector3I a, Vector3I b ) : IEnumerable
RaiseBeganEvent ( DrawOperation op ) : void
RaiseBeginningEvent ( DrawOperation op ) : bool
RaiseEndedEvent ( DrawOperation op ) : void

Private Methods

Méthode Description
End ( ) : void
OnCancellation ( ) : void
OnCompletion ( ) : void
StartBatch ( ) : void
TestForDuplicateModification ( ) : void

Method Details

Begin() public méthode

public Begin ( ) : bool
Résultat bool

Cancel() public méthode

public Cancel ( ) : void
Résultat void

DrawBatch() public abstract méthode

public abstract DrawBatch ( int maxBlocksToDraw ) : int
maxBlocksToDraw int
Résultat int

DrawOneBlock() protected méthode

protected DrawOneBlock ( ) : bool
Résultat bool

DrawOperation() protected méthode

protected DrawOperation ( [ player ) : System
player [
Résultat System

LineEnumerator() protected static méthode

protected static LineEnumerator ( Vector3I a, Vector3I b ) : IEnumerable
a Vector3I
b Vector3I
Résultat IEnumerable

Prepare() public méthode

public Prepare ( [ marks ) : bool
marks [
Résultat bool

RaiseBeganEvent() protected static méthode

protected static RaiseBeganEvent ( DrawOperation op ) : void
op DrawOperation
Résultat void

RaiseBeginningEvent() protected static méthode

protected static RaiseBeginningEvent ( DrawOperation op ) : bool
op DrawOperation
Résultat bool

RaiseEndedEvent() protected static méthode

protected static RaiseEndedEvent ( DrawOperation op ) : void
op DrawOperation
Résultat void

Property Details

Coords public_oe property

Coordinates that are currently being processed.
public Vector3I Coords
Résultat Vector3I

UndoState protected_oe property

Undo state associated with this operation. Created by DrawOperation.Begin().
protected UndoState,fCraft.Drawing UndoState
Résultat UndoState