示例#1
0
 public MouseOverBlock(WorldPosition position, WorldManager manager, Map map, PlayerAvatar parent)
     : base(position, manager)
 {
     this.parent = parent;
     this.map = map;
     this.HasFixedPosition = false;
 }
示例#2
0
        public ChunkCache(Map map, int cacheRadius)
        {
            this.Map = map;

            this.Radius = cacheRadius;

            this.savedChunkData = new Dictionary<ChunkCoordinate, CacheData>();

            tempChunk = new Chunk(map);

            LoadStartingData();
        }
示例#3
0
 public void GiveBlankChunk(Map map)
 {
     lock (this)
     {
         Chunk = new Chunk(map);
     }
 }
示例#4
0
 public WorldManager(Map map)
 {
     this.Map = map;
 }
示例#5
0
 public Chunk(Map map)
 {
     this.Map = map;
     containedCubes = new Block[GameConstants.CHUNK_X_WIDTH, GameConstants.CHUNK_Y_HEIGHT, GameConstants.CHUNK_Z_LENGTH];
     entitySchemata = new List<EntitySchema>();
 }