Testing out JmonkeyEngine to make a game in Scala with Akka Actors within a pure FP layer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
398 B

3 years ago
3 years ago
  1. package wow.doge.mygame.utils
  2. case class Display(
  3. width: Int,
  4. height: Int,
  5. title: String,
  6. fullScren: Boolean,
  7. vsync: Boolean,
  8. frameRate: Int
  9. )
  10. object Display {
  11. val default = Display(
  12. width = 640,
  13. height = 480,
  14. title = "JME-Game",
  15. fullScren = false,
  16. vsync = false,
  17. frameRate = -1
  18. )
  19. }
  20. case class GlobalSettings(display: Display = Display.default)