farhanrahman / kyoto

18 stars 7 forks source link

Country Constructors Should Initialize Kyoto Membership Level #87

Closed Sergeus closed 12 years ago

Sergeus commented 12 years ago

Being a member of the Kyoto protocol is no longer a binary status, with reference to your membership field. Now, you have a field called kyotoMemberLevel which says whether you are annex one, non annex one, or a rogue state. If you are NOT annex one, you must initialize this variable to the correct value using the function setKyotoMemberLevel(). This function will only be accessible for the first turn of the game, so make sure you initialize it in your constructor.

You need to give setKyotoMemberLevel() an argument, which is the type you want your country to be. There are three available values:

KyotoMember.ANNEXONE KyotoMember.NONANNEXONE KyotoMember.ROGUE

tumblerer commented 12 years ago

@whitebloodcell , @piotroslaw , @georgePil

georgePil commented 12 years ago

Done ;p