Exemplo n.º 1
0
 public static DrawEngine GetInstace()
 {
     if (Instance == null)
     {
         Instance = new DrawEngine();
     }
     return(Instance);
 }
Exemplo n.º 2
0
 public void Init(PictureBox pictureBox)
 {
     mazeGenerator = MazeGenerator.GetInstance();
     drawEninge    = DrawEngine.GetInstace();
     drawEninge.Init(pictureBox);
 }