Table of Contents

Interface ICA2DRule

Namespace
LibGameAI.PCG
Assembly
PCG.dll

Interface for discrete 2D CA rules.

public interface ICA2DRule

Methods

ProcessRule(CA2D, int, int)

Process rule.

int ProcessRule(CA2D ca, int x, int y)

Parameters

ca CA2D

The cellular automaton.

x int

Cell horizontal position.

y int

Cell vertical position.

Returns

int

The new cell value after applying the rule.