Exemplo n.º 1
0
 public Group(string groupname, Group parentgroup = null, string chatcolor = "255,255,255", string permissions = null)
 {
     Name = groupname;
     Parent = parentgroup;
     ChatColor = chatcolor;
     Permissions = permissions;
 }
Exemplo n.º 2
0
 protected TPPlayer(String playerName)
 {
     TilesDestroyed = new Dictionary<Vector2, TileData>();
     TilesCreated = new Dictionary<Vector2, TileData>();
     Index = -1;
     FakePlayer = new Player {name = playerName, whoAmi = -1};
     Group = new Group(tPulse.Config.DefaultGuestGroupName);
     AwaitingResponse = new Dictionary<string, Action<object>>();
 }
Exemplo n.º 3
0
 public TPPlayer(int index)
 {
     TilesDestroyed = new Dictionary<Vector2, TileData>();
     TilesCreated = new Dictionary<Vector2, TileData>();
     Index = index;
     Group = new Group(tPulse.Config.DefaultGuestGroupName);
     IceTiles = new List<Point>();
     AwaitingResponse = new Dictionary<string, Action<object>>();
 }
Exemplo n.º 4
0
 public Group(string groupname, Group parentgroup, string chatcolor)
     : this(groupname, parentgroup, chatcolor, null)
 {
 }