diff --git a/vacation.p8 b/vacation.p8 index c3502dc..9352745 100644 --- a/vacation.p8 +++ b/vacation.p8 @@ -178,6 +178,10 @@ function txtbox:draw() print(self.text, self.x, self.y, self.col) end +function txtbox:xmax() + return print(self.text, self.x, -9999) +end + spring = { from = 128, to = 0,