Ejemplo n.º 1
0
 public EntityReport(GridTrunk trunk, float timeStamp)
 {
     TimeStamp = timeStamp;
     Locked = false;
     _trunk = trunk;
     _sightList = new Dictionary<Entity, EntityStruct[]>();
 }
Ejemplo n.º 2
0
        public GridManager(AtlasGlobal atlas)
            : base(atlas)
        {
            _trunk = new GridTrunk(atlas);

            try {
                var json = GridJson.FromFile("map.json");
                _trunk.FromJson(json);
            } catch { }
        }