Class Config


  • public final class Config
    extends java.lang.Object
    • Field Detail

      • POWERUP_DIAMETER

        public static final int POWERUP_DIAMETER
        The diameter of powerups in pixels.
        See Also:
        Constant Field Values
      • NORMAL_PLAYER_SPEED

        public static final float NORMAL_PLAYER_SPEED
        The speed of the player in pixels/second without powerups.
        See Also:
        Constant Field Values
      • FAST_PLAYER_SPEED

        public static final float FAST_PLAYER_SPEED
        The speed of the player in pixels/second when using a speed powerup.
        See Also:
        Constant Field Values
      • NORMAL_ARREST_RANGE

        public static final int NORMAL_ARREST_RANGE
        The radius of the player arrest range circle.
        See Also:
        Constant Field Values
      • EXTEND_ARREST_RANGE

        public static final int EXTEND_ARREST_RANGE
        The radius of the player arrest range circle when with arrest power up.
        See Also:
        Constant Field Values
      • INFILTRATOR_SPEED

        public static final float INFILTRATOR_SPEED
        The infiltrators' speed in pixels/second.
        See Also:
        Constant Field Values
      • CREW_MEMBER_SPEED

        public static final float CREW_MEMBER_SPEED
        The crew members' speed in pixels/second.
        See Also:
        Constant Field Values
      • DEFAULT_SPEEDUP_RED

        public static final float DEFAULT_SPEEDUP_RED
        The red component of the speedup powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_SPEEDUP_GREEN

        public static final float DEFAULT_SPEEDUP_GREEN
        The green component of the speedup powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_SPEEDUP_BLUE

        public static final float DEFAULT_SPEEDUP_BLUE
        The blue component of the speedup powerup's default colour.
        See Also:
        Constant Field Values
      • COLLISION_SPEEDUP_RED

        public static final float COLLISION_SPEEDUP_RED
        The red component of the speedup powerup's colour after colliding with the player.
        See Also:
        Constant Field Values
      • COLLISION_SPEEDUP_GREEN

        public static final float COLLISION_SPEEDUP_GREEN
        The green component of the speedup powerup's colour after colliding with the player.
        See Also:
        Constant Field Values
      • COLLISION_SPEEDUP_BLUE

        public static final float COLLISION_SPEEDUP_BLUE
        The blue component of the speedup powerup's colour after colliding with the player.
        See Also:
        Constant Field Values
      • SPEEDUP_TIME

        public static final float SPEEDUP_TIME
        The time that the speedup powerup affects the player for in seconds.
        See Also:
        Constant Field Values
      • DEFAULT_ARRESTUP_RED

        public static final float DEFAULT_ARRESTUP_RED
        The red component of the arrestup powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_ARRESTUP_GREEN

        public static final float DEFAULT_ARRESTUP_GREEN
        The green component of the arrestup powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_ARRESTUP_BLUE

        public static final float DEFAULT_ARRESTUP_BLUE
        The blue component of the arrestup powerup's default colour.
        See Also:
        Constant Field Values
      • ARRESTUP_TIME

        public static final float ARRESTUP_TIME
        The time that the arrestup powerup affects the player for in seconds.
        See Also:
        Constant Field Values
      • CREW_COUNT_DIFFICULTY_MULTIPLIER

        public static final int CREW_COUNT_DIFFICULTY_MULTIPLIER
        The amount of crew to add per difficulty level increase.
        See Also:
        Constant Field Values
      • INCORRECT_ARREST_DIFFICULTY_MULTIPLIER

        public static final int INCORRECT_ARREST_DIFFICULTY_MULTIPLIER
        The amount of incorrect arrests to remove per difficulty level increase.
        See Also:
        Constant Field Values
      • PLAYER_START_X

        public static final int PLAYER_START_X
        The x position the player starts at.
        See Also:
        Constant Field Values
      • PLAYER_START_Y

        public static final int PLAYER_START_Y
        The y position the player starts at.
        See Also:
        Constant Field Values
      • POWERUP_START_X

        public static final int POWERUP_START_X
        The x position the powerups spawn at.
        See Also:
        Constant Field Values
      • POWERUP_START_Y

        public static final int POWERUP_START_Y
        The y position the powerups spawn at.
        See Also:
        Constant Field Values
      • DEFAULT_FREEZEUP_RED

        public static final float DEFAULT_FREEZEUP_RED
        The red component of the FreezeUp powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_FREEZEUP_GREEN

        public static final float DEFAULT_FREEZEUP_GREEN
        The green component of the FreezeUp powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_FREEZEUP_BLUE

        public static final float DEFAULT_FREEZEUP_BLUE
        The blue component of the FreezeUp powerup's default colour.
        See Also:
        Constant Field Values
      • FREEZEUP_TIME

        public static final float FREEZEUP_TIME
        The time that the FreezeUp powerup affects the player for in seconds.
        See Also:
        Constant Field Values
      • DEFAULT_SHIELDUP_RED

        public static final float DEFAULT_SHIELDUP_RED
        The red component of the ShieldUp powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_SHIELDUP_GREEN

        public static final float DEFAULT_SHIELDUP_GREEN
        The green component of the ShieldUp powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_SHIELDUP_BLUE

        public static final float DEFAULT_SHIELDUP_BLUE
        The blue component of the ShieldUp powerup's default colour.
        See Also:
        Constant Field Values
      • SHIELDUP_TIME

        public static final float SHIELDUP_TIME
        The time that the ShieldUp powerup affects the player for in seconds.
        See Also:
        Constant Field Values
      • DEFAULT_HIGHLIGHTUP_RED

        public static final float DEFAULT_HIGHLIGHTUP_RED
        The red component of the HighlightUp powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_HIGHLIGHTUP_GREEN

        public static final float DEFAULT_HIGHLIGHTUP_GREEN
        The green component of the HighlightUp powerup's default colour.
        See Also:
        Constant Field Values
      • DEFAULT_HIGHLIGHTUP_BLUE

        public static final float DEFAULT_HIGHLIGHTUP_BLUE
        The blue component of the HighlightUp powerup's default colour.
        See Also:
        Constant Field Values
      • HIGHLIGHTUP_TIME

        public static final float HIGHLIGHTUP_TIME
        The time that the HighlightUp powerup affects the player for in seconds.
        See Also:
        Constant Field Values
      • MAX_LOST_SYSTEMS

        public static final int MAX_LOST_SYSTEMS
        The amount of systems that can be destroyed before the player loses.
        See Also:
        Constant Field Values
      • BACKGROUND_SCROLL_SPEED

        public static final float BACKGROUND_SCROLL_SPEED
        The speed of the background scroll in pixels per second.
        See Also:
        Constant Field Values
      • SYSTEM_DESTRUCTION_TIME

        public static final float SYSTEM_DESTRUCTION_TIME
        The time to destroy a system in milliseconds.
        See Also:
        Constant Field Values
      • AUBER_HEAL_STOP_TIME

        public static final float AUBER_HEAL_STOP_TIME
        When Auber's healing is stopped, this is how long it is stopped for.
        See Also:
        Constant Field Values
      • AUBER_CIRCLE_SEGMENTS

        public static final int AUBER_CIRCLE_SEGMENTS
        The radius within which Auber can arrest NPCs.
        See Also:
        Constant Field Values