You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All util functions that I currently have no classification for
send explorer/colony/conquestador
sendExplorer(Power) : void
sendColony(Power) : void
sendConquest(Power) : void
get/set diplomatic relations. (already implemented, but untested)
declareWar(Power, Power) : void
declareAlience(Power, Power): void
IsAtWar(Power, Power): bool
IsAllied(Power, Power): bool
IsNeutral(Power, Power): bool //or replace these three functions with getDiploStatus(Power, Powers) : [War, Allied, Neutral]
get possible CP actions (depending on power, CP left, and specific conditions)
getCPActions(Power) : ? //read CP left and mandatories played from Global variables
get information about current Impulse
getCurrentImpulsePower() : Power // might be different from active power
getCurrentCP() : int
setCurrentCP(int) : void
decremetCurrentCP(int) : void
get/set/increment track positions.
getTurnTrackPosition() : int
incrementTurnTrack() : void
getSTPeterCP() : int
incrementSTPeterCP(int amount) : void //including incrementing STPeterVP if applicable
setSTPeterCP(int value) : void
getTrackPosition(Track) : int // have to decide wether to have one function for all Tracks or seperate functions.
incrementTrackPosition(Track, int amount) : void
draw/discard cards
drawCardsFromDeck(Power, int amount) : void
drawCardFromPower(Power, Power, int amount) : void // amount always has to be 1 or 2.
discardRandomCard(Power) : void // I cant think of a situation where two cards are discarded.
discardCard(Power, CardID) : void
add VP token. (new world, war winner, burned/disgraced debators, ...)
addVPToken(tokenIDs_VP_MARKER, Power) : void
get/set event reminders
getEventActive(tokenIDs_EVENT_REMINDER, ?) : bool // might be necessary to make seperate function for all events, as they have different possible locations. (e.g. Printing press is always on the turn track, while Plantations can choose for what power they are)
All util functions that I currently have no classification for
The text was updated successfully, but these errors were encountered: