Show / Hide Table of Contents

Class GameStateChange

A container class for predefined effects on a set of GameStatePropertys.

Inheritance
System.Object
GameStateChange
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GDA
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public class GameStateChange

Fields

freezeOtherStates

Wether to freeze all GDA.GameStateProperties not defined in the GameStateChange, or to allow them to calculate their own changes.

Declaration
public bool freezeOtherStates
Field Value
Type Description
System.Boolean

stateChanges

Dictionary containing the predefined effects. Key: Name of GameStateProperty as defined in a GDA.GameState.gameStateProperties Value: Value of the effect to apply.

Declaration
public StringFloatDictionary stateChanges
Field Value
Type Description
StringFloatDictionary

Properties

Count

The count of how many state changes are defined.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32
In This Article
Back to top Generated by DocFX