@civ-clone/core-goody-hut
v0.1.5
Published
This package provides the core `GoodyHut` class and associated `Rule`s.
Readme
core-goody-hut
This package provides the core GoodyHut class and associated Rules.
GoodyHuts traditionally in the Civ games provide a bonus (or penalty) when discovered. The GoodyHut class is
associated to a Tile where it will be Discovered, revealing its reward via an Action.
Associated Rules:
Action- availableActions for the currentGoodyHut(e.g.Unit,Advance,Gold...)ActionPerformed- once an action is performed (Unitprovided, etc)Discovered- when theGoodyHutis interacted withDistribution- on whichTiles theGoodyHuts will appear
