refactoring
This commit is contained in:
parent
c293490995
commit
4dfbcff460
14 changed files with 240 additions and 82 deletions
24
Sledgemapper.Shared/Entities/SessionData.cs
Normal file
24
Sledgemapper.Shared/Entities/SessionData.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections.Concurrent ;
|
||||
namespace Sledgemapper.Shared.Entities
|
||||
{
|
||||
public class SessionData
|
||||
|
||||
{
|
||||
public SessionData()
|
||||
{
|
||||
Map = new ConcurrentDictionary<string, Tile>();
|
||||
Overlays = new ConcurrentDictionary<string, Overlay>();
|
||||
Walls = new ConcurrentDictionary<string, Wall>();
|
||||
Players = new List< Player>();
|
||||
Colors = new List<string>();
|
||||
}
|
||||
|
||||
public ConcurrentDictionary<string, Tile> Map { get; set; }
|
||||
public ConcurrentDictionary<string, Wall> Walls { get; set; }
|
||||
public ConcurrentDictionary<string, Overlay> Overlays { get; set; }
|
||||
public bool IsValid { get; set; }
|
||||
public List< Player> Players { get; set; }
|
||||
public List<string> Colors;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue