Simulation.cs 456 B

12345678910111213141516171819202122232425
  1. using System.Collections.Generic;
  2. using BubbleSocketCore.Simulation.Entity;
  3. using BubbleSocketCore.Input;
  4. using System.Collections.Concurrent;
  5. namespace BubbleSocketCore.Simulation
  6. {
  7. public class Simulation
  8. {
  9. private static Simulation instance;
  10. public static Simulation GetInstance()
  11. {
  12. if (Simulation.instance == null)
  13. {
  14. Simulation.instance = new Simulation();
  15. }
  16. return Simulation.instance;
  17. }
  18. public Simulation()
  19. {
  20. }
  21. }
  22. }