drawTextBox to use style table instead of a lot of arguments

This commit is contained in:
lustlion
2022-03-12 18:20:06 +01:00
parent 3c1746d914
commit 1883bcd78b
2 changed files with 14 additions and 6 deletions

View File

@@ -62,8 +62,10 @@ function Prompt:draw()
self.name .. ": " .. self.input,
self.pos.x,
self.pos.y,
self.color,
self.background_color
{
color = self.color,
background_color = self.background_color
}
)
end