C# Class fCraft.Drawing.UndoState

Object used to store
Show file Open project: GlennMR/800craft Class Usage Examples

Public Properties

Property Type Description
Buffer List
IsTooLargeToUndo bool
Op DrawOperation
SyncRoot object

Public Methods

Method Description
Add ( Vector3I coord, Block block ) : bool
Get ( int index ) : UndoBlock
GetBounds ( ) : BoundingBox
UndoState ( DrawOperation op ) : System.Collections.Generic

Method Details

Add() public method

public Add ( Vector3I coord, Block block ) : bool
coord Vector3I
block Block
return bool

Get() public method

public Get ( int index ) : UndoBlock
index int
return UndoBlock

GetBounds() public method

public GetBounds ( ) : BoundingBox
return BoundingBox

UndoState() public method

public UndoState ( DrawOperation op ) : System.Collections.Generic
op DrawOperation
return System.Collections.Generic

Property Details

Buffer public property

public List Buffer
return List

IsTooLargeToUndo public property

public bool IsTooLargeToUndo
return bool

Op public property

public DrawOperation,fCraft.Drawing Op
return DrawOperation

SyncRoot public property

public object SyncRoot
return object