config.py 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. from xyzworld.Context import Context as XyzContext
  2. from intelligine.synergy.Simulation import Simulation
  3. from intelligine.display.Pygame import Pygame
  4. from intelligine.display.pygame.visualisation import visualisation as pygame_visualisation
  5. from intelligine.sandbox.redblue.red_blue_colonys import collections
  6. """
  7. TODO:
  8. * AttackAction :: comment choisir entre les actions ?
  9. * TakeAction, PutAction, Object Egg
  10. * Plusieurs objets au mm endroit; Cinq oeuf => dessein de cinq oeuf; etc (image dynamique (param max_supperposer ?)
  11. * 3d
  12. """
  13. config = {
  14. 'app': {
  15. 'name': 'StigEngine',
  16. 'classes': {
  17. 'Context': XyzContext
  18. }
  19. },
  20. 'engine': {
  21. 'fpsmax': 225,
  22. 'debug': {
  23. 'mainprocess': True,
  24. 'cycles': -1
  25. }
  26. },
  27. 'simulations' : [Simulation(collections)],
  28. 'connections': [Pygame],
  29. 'terminal': {
  30. 'pygame': {
  31. 'visualisation': pygame_visualisation,
  32. 'window_size': (800, 600),
  33. 'app': {
  34. 'name': 'SocialIntengine'
  35. },
  36. 'display': {
  37. 'grid': {
  38. 'size': 20
  39. }
  40. },
  41. 'font': {
  42. 'name': 'arial',
  43. 'size': 13
  44. },
  45. 'background': {
  46. 'color': (125, 125, 125)
  47. }
  48. }
  49. }
  50. }