Barotrauma Client Doc
Barotrauma.Memento< T > Class Template Reference

Public Member Functions

void Store (T newState)
 
Undo ()
 
Redo ()
 
void Clear ()
 

Properties

Current [get]
 
int UndoCount [get]
 
int RedoCount [get]
 

Detailed Description

Definition at line 15 of file Memento.cs.

Member Function Documentation

◆ Clear()

void Barotrauma.Memento< T >.Clear ( )

Definition at line 55 of file Memento.cs.

◆ Redo()

T Barotrauma.Memento< T >.Redo ( )

Definition at line 45 of file Memento.cs.

◆ Store()

void Barotrauma.Memento< T >.Store ( newState)

Definition at line 25 of file Memento.cs.

◆ Undo()

T Barotrauma.Memento< T >.Undo ( )

Definition at line 35 of file Memento.cs.

Property Documentation

◆ Current

T Barotrauma.Memento< T >.Current
get

Definition at line 17 of file Memento.cs.

◆ RedoCount

int Barotrauma.Memento< T >.RedoCount
get

Definition at line 20 of file Memento.cs.

◆ UndoCount

int Barotrauma.Memento< T >.UndoCount
get

Definition at line 19 of file Memento.cs.