This commit is contained in:
Daniel Mills
2020-09-11 23:45:36 -04:00
parent 1bafdf0feb
commit 30e1d9552c
4 changed files with 16 additions and 4 deletions

View File

@@ -6,5 +6,10 @@ import lombok.Value;
public class CarveResult
{
private final int surface;
private final int height;
private final int ceiling;
public int getHeight()
{
return ceiling - surface;
}
}