DeeperWorld icon indicating copy to clipboard operation
DeeperWorld copied to clipboard

Feature/deeper world#25

Open Norazan opened this issue 1 year ago • 0 comments

This PR completes DeeperWorld#25

  • Add depth calculation to the WorldManager API in the form of getDepthFor functions
    • I changed the algorithm a bit compared to how it was in MineInAbyss, to allow for any variation in the sections configuration. The MineInAbyss logic only worked if all sections were configured along the same horizontal axis.
  • Introduce a height property to the Section class
  • Add a "depth" command that returns the depth of a given player (or the executor, if it is a player)

I'll change MineInAbyss to use the new methods after this PR is merged.

Norazan avatar Feb 26 '25 03:02 Norazan