private void MainForm_Load(object sender, EventArgs e) { SpacePew = Game.Instance(); OglDrawer = Drawer.Instance(); SpacePew.Init(OglDrawer); Proxy = Proxy.GetInstance(); OglDrawer.Initialize(); timer1.Enabled = true; }
public static Drawer Instance() { return _instance ?? (_instance = new Drawer()); }
public void Init(Drawer drawer) { DecisionDone += drawer.DecisionHandler; Manager = new FileManager(); }