LayerProcGen v0.1.0
Layer-based infinite procedural generation
Loading...
Searching...
No Matches
WorldStateBinaryabstract

Inherits WorldState.

Inherited by WorldStateFBPP, and WorldStateLocal.

Public Member Functions

delegate void Callback ()
 
override void Clear ()
 
void DeleteSave (string saveName)
 
void GetState (StateObject state)
 
bool HasSave (string saveName)
 
void Load (string saveName)
 
void Save (string saveName)
 
void SetState (StateObject state)
 

Static Public Member Functions

static void ClearCallbacks ()
 
static void DeleteSave ()
 
static bool HasSave ()
 
static void Load ()
 
static void Reset ()
 
static void Save ()
 

Static Public Attributes

static Callback cleanupCallbacks
 
static WorldState instance
 
static Callback loadCallbacks
 
static Callback saveCallbacks
 
static string saveFileName = "SaveFile"
 

Protected Member Functions

override void GetValues< T > (int hashKey, StateWrapper< T >[] arr)
 
void Load (BinaryReader reader)
 
void Save (BinaryWriter writer)
 
override void SetValues< T > (int hashKey, StateWrapper< T >[] arr)