Show / Hide Table of Contents

Class DecisionRecord

Class that holds the data for a processed proposal.

Inheritance
System.Object
DecisionRecord
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 DecisionRecord

Constructors

DecisionRecord(Proposal, GameState, Single, NewsItem)

Declaration
public DecisionRecord(Proposal proposal, GameState gameState, float timeTaken, NewsItem newsItem = null)
Parameters
Type Name Description
Proposal proposal
GameState gameState
System.Single timeTaken
NewsItem newsItem

Fields

newsItem

News item generated by the player's decision (if any)

Declaration
public NewsItem newsItem
Field Value
Type Description
NewsItem

proposal

Proposal that has been processed (approved or rejected) by the player

Declaration
public Proposal proposal
Field Value
Type Description
Proposal

resultingGameState

Serializable form of the resulting GameState.

Declaration
public StringFloatDictionary resultingGameState
Field Value
Type Description
StringFloatDictionary

timeTaken

Time taken by the player to come to the decision.

Declaration
public float timeTaken
Field Value
Type Description
System.Single
In This Article
Back to top Generated by DocFX