public void AddOcean(Vector2 point) { var side = WorldSide.getSideOfWorld(point); if (!oceans.Contains(side)) { oceans.Add(side); //// clear ocean bottom terrainField.ChangeValue(new Vector4(oceanDepth * -1f, 0f, 0, 0f), side.getPartOfMap(oceanWidth)); } }
public void RaiseLand() //added by Liam { terrainField.ChangeValue(new Vector4(10f, 0f, 0f, 0f), WorldSide.EntireMap.getArea()); }