Advertisement
Guest User

dicks

a guest
Apr 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace CMDSpacePirates
  8. {
  9. public class GameObject
  10. {
  11. public char[] graphic;
  12. public int renderPriority; // 0 is first
  13.  
  14. public Vector size;
  15. public Vector pos;
  16. }
  17.  
  18. public struct Vector
  19. {
  20. public int x, y;
  21.  
  22. public Vector(int _x, int _y) : this()
  23. {
  24. x = _x;
  25. y = _y;
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement