lrussell

WorldData Classes

Feb 15th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.86 KB | None | 0 0
  1.         public class World
  2.         {
  3.             public string Id;
  4.             public string Name = "Untitled World";
  5.             public string Owner = "(unknown)";
  6.             public int Plays;
  7.             public int Width = 200;
  8.             public int Height = 200;
  9.             public int Woots;
  10.             public int TotalWoots;
  11.             public bool AllowPotions;
  12.             public bool Visible = true;
  13.             public Color BackgroundColor;
  14.             public List<WorldData> WorldData = new List<WorldData>();
  15.         }
  16.  
  17.         public class WorldData
  18.         {
  19.             public uint type;
  20.             public int layer;
  21.             public uint rotation;
  22.             public uint id;
  23.             public uint goal;
  24.             public string target;
  25.             public string text;
  26.             public List<Point> locs = new List<Point>();
  27.         }
Advertisement
Add Comment
Please, Sign In to add comment