HMI-Studios / CivCloneJS

3 stars 1 forks source link

Leaders & Civs Rewrite #197

Closed kjniemela closed 6 months ago

kjniemela commented 7 months ago

Most of the dirty work of #183 is done.

Essentially, the Leader and Civilization classes have been swapped, taking each other's roles in most cases.

Leaders:

Domains (Civs and Cities):

Civilizations:

The DomainID type was added, which contains information about both the type of domain as well as a numeric ID (subID) for the domain. The subID is not globally unique, it's just unique within the specific DomainType.

kjniemela commented 6 months ago

I'm going to merge this, but I'll add it to the task board and assign myself to it so we don't lose these comments.