03.12.2016, 18:52
I've got a question for scripters. Do you prefer structured programming or object-oriented?
I mean I'm under implementing some new stuff and I thought that would be nice to create draw like that:
Instead of:
So what is your opinion?
I mean I'm under implementing some new stuff and I thought that would be nice to create draw like that:
Code:
local draw = Draw("Bla bla bla");
draw.setPosition(7800, 6000);
draw.visible = true;
Code:
local draw = drawCreate(many arguments);
drawSetVisible(draw, true);