Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.GovernmentConstants
Source: src/com/multiversesocial/hyperview/GovernmentConstants.java

GovernmentConstants

HyperView V3.2 — interface
version V3.2 interface

Summary

GovernmentConstants — HyperView 3.2 project class.

Source file: GovernmentConstants.java

Hierarchy

Extends: none

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

abstract interface GovernmentConstants

Declared in src/com/multiversesocial/hyperview/GovernmentConstants.java, lines 3–204. 26 field(s), 0 constructor(s), 1 method(s). Every member has an anchor you can link to (e.g. GovernmentConstants.html#<id>).

Fields (26)

DeclarationValue / initializerDescriptionSource
public static final byte ANARCHY= 0 (constant)No comment in source; name appears in 1 other source file(s): Economy.line 5
public static final byte AUTOCRACY= 3 (constant)No comment in source; not referenced by name in this type’s methods.line 8
public static final byte BUREAUCRACY= 8 (constant)No comment in source; not referenced by name in this type’s methods.line 13
public static final int[] CivMoralBonus= {0, 5, 4, 1, 1, 1, 2, 5, 3, 4, 5, 3, 3, 4, 5, 0}No comment in source; not referenced by name in this type’s methods.line 104
public static final byte CLERARCHY= 7 (constant)No comment in source; not referenced by name in this type’s methods.line 12
public static final byte COMMUNIST= 14 (constant)No comment in source; not referenced by name in this type’s methods.line 19
public static final int[] cropBonus= {0, 3, 5, 2, 2, 2, 3, 3, 3, 5, 5, 2, 4, 5, 4, 0}No comment in source; name appears in 1 other source file(s): Economy.line 64
public static final byte DEMOCRACY= 13 (constant)No comment in source; not referenced by name in this type’s methods.line 18
public static final byte DICTATORSHIP= 5 (constant)No comment in source; not referenced by name in this type’s methods.line 10
public static final int[] economyBonus= {0, 1, 3, 2, 2, 2, 5, 3, 5, 3, 3, 2, 4, 5, 2, 0}No comment in source; name appears in 1 other source file(s): Economy.line 145
public static final byte GLADIARCHY= 11 (constant)No comment in source; not referenced by name in this type’s methods.line 16
public static final String[] govName= {"Anarchy", "Tribal", "Monarchy", "Autocracy", "Militocracy", "Dictatorship", "Plutocracy"…No comment in source; name appears in 1 other source file(s): EconomyPane.line 22
public static final int[] growthBonus= {5, 6, 5, 2, 2, 2, 3, 3, 3, 3, 3, 2, 4, 4, 4, 0}No comment in source; name appears in 1 other source file(s): Economy.line 165
public static final String[] leaderName= {"Head Helian", "Chief", "King", "Emperer", "General", "Supreme Leader", "Potentate", "Hig…No comment in source; not referenced by name in this type’s methods.line 44
public static final byte MAGOCRACY= 9 (constant)No comment in source; not referenced by name in this type’s methods.line 14
public static final int[] militaryMoraleBonus= {0, 30, 30, 50, 40, 40, 30, 50, 25, 50, 80, 40, 30, 20, 30, 100}No comment in source; not referenced by name in this type’s methods.line 125
public static final byte MILITOCRACY= 4 (constant)No comment in source; not referenced by name in this type’s methods.line 9
public static final byte MONARCHY= 2 (constant)No comment in source; not referenced by name in this type’s methods.line 7
public static final byte MONKARCHY= 10 (constant)No comment in source; not referenced by name in this type’s methods.line 15
public static final byte PLUTOCRACY= 6 (constant)No comment in source; not referenced by name in this type’s methods.line 11
public static final int[] productionBonus= {0, 1, 4, 2, 2, 2, 3, 4, 4, 4, 10, 5, 8, 10, 3, 20}No comment in source; not referenced by name in this type’s methods.line 84
public static final byte REPUBLIC= 12 (constant)No comment in source; not referenced by name in this type’s methods.line 17
public static final byte ROTOCRACY= 15 (constant)No comment in source; not referenced by name in this type’s methods.line 20
public static final int[] techBonus= {0, 1, 3, 2, 2, 2, 3, 3, 5, 3, 2, 2, 4, 8, 4, 0}No comment in source; not referenced by name in this type’s methods.line 184
public static final byte TOTAL_GOVERNMENT_TYPES= 13 (constant)No comment in source; name appears in 1 other source file(s): Economy.line 42
public static final byte TRIBAL= 1 (constant)No comment in source; not referenced by name in this type’s methods.line 6

Constructors (0)

None (interface).

Methods (1)

SignatureDescriptionSource
static { … }Implicit default constructor generated by the compiler (not written in the source).implicit

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

implements — EcYear.java, line 3

    3  public class EcYear extends Dispatch implements EconomyConstants,GovernmentConstants
    4  {

implements — SetInterest.java, line 4

    4  public class SetInterest extends Dispatch implements EconomyConstants,GovernmentConstants
    5  {
Hits--