C# Class BiomePainter.History.HistoryManager

Inheritance: IDisposable
Show file Open project: mblaine/BiomePainter Class Usage Examples

Public Methods

Method Description
Add ( IAction action ) : void
Dispose ( ) : void
FilterOutType ( Type type ) : void
HistoryManager ( ChangeCallback change ) : System
MovePrevious ( ) : bool
RecordBiomeState ( RegionFile region, String description ) : void
RecordPopulateState ( RegionFile region, String description ) : void
RecordSelectionState ( Bitmap selection, String description ) : void
Redo ( Bitmap selection, RegionFile region, Bitmap terrainOverlay, Bitmap biomeOverlay, String &tooltips, Bitmap populateOverlay, UpdateStatus updateStatus ) : void
SetDirtyFlags ( RegionFile region ) : void
SetLastSaveActions ( ) : void
Undo ( Bitmap selection, RegionFile region, Bitmap terrainOverlay, Bitmap biomeOverlay, String &tooltips, Bitmap populateOverlay, UpdateStatus updateStatus ) : void

Private Methods

Method Description
ApplyBiomeState ( BiomeAction action, RegionFile region, Bitmap terrainOverlay, Bitmap biomeOverlay, String &tooltips, UpdateStatus updateStatus ) : void
ApplyPopulateState ( PopulateAction action, RegionFile region, Bitmap populateOverlay ) : void
ApplySelectionState ( SelectionAction action, Bitmap selection ) : void
ByteArraysEqual ( byte b1, byte b2 ) : bool
GetPreviousAction ( ) : IAction
GetPreviousAction ( LinkedListNode start, Type t ) : IAction
MoveNext ( ) : bool
OnChange ( ) : void

Method Details

Add() public method

public Add ( IAction action ) : void
action IAction
return void

Dispose() public method

public Dispose ( ) : void
return void

FilterOutType() public method

public FilterOutType ( Type type ) : void
type System.Type
return void

HistoryManager() public method

public HistoryManager ( ChangeCallback change ) : System
change ChangeCallback
return System

MovePrevious() public method

public MovePrevious ( ) : bool
return bool

RecordBiomeState() public method

public RecordBiomeState ( RegionFile region, String description ) : void
region Minecraft.RegionFile
description String
return void

RecordPopulateState() public method

public RecordPopulateState ( RegionFile region, String description ) : void
region Minecraft.RegionFile
description String
return void

RecordSelectionState() public method

public RecordSelectionState ( Bitmap selection, String description ) : void
selection System.Drawing.Bitmap
description String
return void

Redo() public method

public Redo ( Bitmap selection, RegionFile region, Bitmap terrainOverlay, Bitmap biomeOverlay, String &tooltips, Bitmap populateOverlay, UpdateStatus updateStatus ) : void
selection System.Drawing.Bitmap
region Minecraft.RegionFile
terrainOverlay System.Drawing.Bitmap
biomeOverlay System.Drawing.Bitmap
tooltips String
populateOverlay System.Drawing.Bitmap
updateStatus UpdateStatus
return void

SetDirtyFlags() public method

public SetDirtyFlags ( RegionFile region ) : void
region Minecraft.RegionFile
return void

SetLastSaveActions() public method

public SetLastSaveActions ( ) : void
return void

Undo() public method

public Undo ( Bitmap selection, RegionFile region, Bitmap terrainOverlay, Bitmap biomeOverlay, String &tooltips, Bitmap populateOverlay, UpdateStatus updateStatus ) : void
selection System.Drawing.Bitmap
region Minecraft.RegionFile
terrainOverlay System.Drawing.Bitmap
biomeOverlay System.Drawing.Bitmap
tooltips String
populateOverlay System.Drawing.Bitmap
updateStatus UpdateStatus
return void