game init load


SUBMITTED BY: Thor2607

DATE: Sept. 25, 2016, 6:22 p.m.

FORMAT: Text only

SIZE: 990 Bytes

HITS: 701

  1. Button b_start;
  2. 14: Button b_laden;
  3. 15: Button b_Einstellungen;
  4. 16: Button b_beenden;
  5. 17:
  6. 18: UI earth;
  7. 19: UI ring;
  8. 20:
  9. 21: text info; 37: public override void ini()
  10. 38: {
  11. 39: close = new Dialog();
  12. 40: close.visible = false;
  13. 41: //close.back = new pict(texturemgr.txts[texturemgr.txtu.earth]);
  14. 42: close.size = new Vector2(500, 500);
  15. 43: close.pos = new Vector2((1366 - close.size.X) / 2, (766 - close.size.Y) / 2);
  16. 44:
  17. 45: gui = new GameUI(false, false,5600);
  18. 46: gui.visible = true;
  19. 47: gui.back = new pict(texturemgr.txts[texturemgr.txtu.button1]);
  20. 48: gui.size = new Vector2(1366 -2*20,768-2* 20);
  21. 49: gui.pos = new Vector2(20, 20);
  22. 50:
  23. 51: ui.addcont(gui);
  24. 52: }

comments powered by Disqus