WorldStates

class in Eddie.GOAPSystem

Description

A container for GOAP states.

Properties

Properties Description
states Dictionary where the key is a string representing a state and the value is an int.

Methods

public bool hasState(string key)

Returns true if state exists.

public void removeState(string key)

Removes a state.

public void setState(string key, int value)

Sets a state.

public Dictionary<string, int> getStates()

Returns current states.