Open-Realms-of-Stars icon indicating copy to clipboard operation
Open-Realms-of-Stars copied to clipboard

Proper design for Space Pirates and "pseudo realms"

Open BottledByte opened this issue 1 year ago • 1 comments

There are two SpaceRaces which are not real races, SPACE_PIRATE and SPACE_MONSTERS. Those two pseudo races make SpaceRace more difficult to define and are negatively impacting generic code for handling races when they will be dehardcoded.

Both "races" are used primarily for "board players", which are not "real" realms. Such "pseudo" realms need a proper system and not rely on the SpaceRace enum for their definition.

BottledByte avatar Dec 29 '23 22:12 BottledByte

This decision was done, since I could use similar handling for those as any other realm including AI, how to get graphics etc. I was thinking when SpaceRace is proper class and not enum, these could created during star map creation based for example Human and just change the graphics, dialog and such. Then these pseudo races would not interference with other space races.

tuomount avatar Dec 30 '23 14:12 tuomount

Closing.

tuomount avatar May 17 '24 17:05 tuomount