drawTextBox to use style table instead of a lot of arguments
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user