setPosition() doesn't accept arrays?
-
Maybe a silly question, since the API says, the setPosition() function needs 4 integers for x,y,width, and height but nevertheless my question:
Is there a way to make it accept an array with 4 ints in it? i'm afraid, the answer is no, but iI just wanted to ask, because i use some sets of values a couple of times, and this would make the code a bit cleaner an more readable using arrays instead.... -
@toxonic Why can't you do
.setPosition(array[0], array[1], array[2], array[3]);
?