Ummm, what?
|
|

Code:public Sprite[] loadSpriteArray(String name, int count) { Sprite[] array = new Sprite[count]; int offset = 0; for (int i = 0; i < count; i++) { Sprite returnSprite = new Sprite(name, i); array[offset++] = returnSprite; } return array; }
Ummm, what?
| « New Quest Tab | automatically load sprites in a directory » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |