public World() { Realm = new Realm(); Renderer = new RealmRenderer(Realm); MapGenerator = new MapGenerator(Realm); Requester = new RealmRequester(Realm); }
public virtual void update(Vector3i Location, Realm world) { throw new NotImplementedException(); //if (BlockType.Liquid) { // LiquidUpdated = moveDown(Location - new Vector3i(0, 0, 1), world); // if (Level > 0) { // List<Vector2> Copy = Directions.GetRange(0, Directions.Count); // Copy.Shuffle(); // foreach (Vector2 dir in Copy) { // LiquidUpdated |= moveTo(new Vector3i(Location.X + (int)dir.X, Location.Y + (int)dir.Y, Location.Z), world); // } // } //} else { // world.RemoveUpdate(Location); //} }
public MapGenerator(Realm realm) { this.Realm = realm; }