/Code/src/com/game/Constants.java

https://bitbucket.org/DeveloperUX/behaviortree · Java · 38 lines · 10 code · 6 blank · 22 comment · 0 complexity · 1f338f55e2461088e9209555846bd56d MD5 · raw file

  1. package com.game;
  2. /**
  3. * Constant class.
  4. * All cross-system game constants go here.
  5. *
  6. * @author Ying
  7. *
  8. */
  9. public class Constants
  10. {
  11. private Constants() {}
  12. /**
  13. * Debug mode check.
  14. */
  15. public static final boolean DebugMode = false;
  16. /**
  17. * Color Intensity of the cursors
  18. */
  19. public static final float CursorColorIntensity = 0.8f;
  20. /**
  21. * Increment for the PowerUp glow
  22. */
  23. public static final float PowerUpAlphaIncrease = 0.05f;
  24. /**
  25. * Maximum number of players.
  26. */
  27. public static final int MaxPlayers = 6;
  28. /**
  29. * Size of a map tile.
  30. */
  31. public static final int TileWidth = 16;
  32. }