CAST II Game Engine

   MAIN       FEATURES       SCREENSHOTS       FORUMS       MANUAL       DOWNLOADS       CONTACTS   
Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Enumerations
Variables
Constants
Functions and Procedures
Identifiers

Class TOperationManager

Unit

Models

Declaration

type TOperationManager = class

Description

Operations manager

Methods

Overview

Publicconstructor Create;
Publicdestructor Destroy; override;
Publicprocedure Add(Operation: TOperation);
Publicfunction CanRedo: Boolean;
Publicfunction CanUndo: Boolean;
Publicprocedure Clear;
Publicprocedure Redo;
Publicprocedure Undo;

Description

Publicconstructor Create;

 

Publicdestructor Destroy; override;

 

Publicprocedure Add(Operation: TOperation);

Add an operation

Publicfunction CanRedo: Boolean;

Returns True if there is a t least one operation to redo

Publicfunction CanUndo: Boolean;

Returns True if there is a t least one operation to undo

Publicprocedure Clear;

Remove all operations

Publicprocedure Redo;

Redo previously undone operation

Publicprocedure Undo;

Undo last operations

Properties

Overview

Publicproperty LastOperation: TOperation;

Description

Publicproperty LastOperation: TOperation;

Last operation applyed (added, undone, redone)

Last modified: Jan 6, 2010
Copyright (C) 2006-2010, casteng.com