Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. public struct Button
  2. {
  3. public int x;
  4. public int y;
  5. public int width;
  6. public int height;
  7.  
  8. public string text;
  9. public int textX;
  10. public int textY;
  11. }
  12.  
  13. public struct Screen
  14. {
  15. public Button[] buttons;
  16. public GameGridValues gameGridValues;
  17. public int gameStateX, gameStateY;
  18. }
  19.  
  20. public class cena
  21. {
  22.  
  23. Button[] selectGameButtons = {
  24. new Button { x = 10, y = 10, width = 100, height = 100, text = "Tic Tac\nToe" },
  25. new Button { x = 10, y = 120, width = 100, height = 100, text = "outra cnea" },
  26. new Button { x = 10, y = 10, width = 100, height = 100, text = "qweqwe" },
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement