Skip to content

KernelAPI reference

Interface IStateHashed

Namespace: MicroEngine.Kernel
Assembly: MicroEngine.Kernel.dll
Guide: Modules and the frame schedule

Something whose simulation state takes part in the per-step state hash (StateHasher): it adds the values that decide what the game does next, and leaves out what only drawing uses.

C#
public interface IStateHashed

Methods

HashState(StateHasher)

Adds this object’s simulation state to hash, always in the same order.

C#
void HashState(StateHasher hash)

Parameters

hash StateHasher