public MouseOverBlock(WorldPosition position, WorldManager manager, Map map, PlayerAvatar parent) : base(position, manager) { this.parent = parent; this.map = map; this.HasFixedPosition = false; }
public ChunkCache(Map map, int cacheRadius) { this.Map = map; this.Radius = cacheRadius; this.savedChunkData = new Dictionary<ChunkCoordinate, CacheData>(); tempChunk = new Chunk(map); LoadStartingData(); }
public void GiveBlankChunk(Map map) { lock (this) { Chunk = new Chunk(map); } }
public WorldManager(Map map) { this.Map = map; }
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>(); }