|
Author |
Topic: how to refer to dynamically generated objects (Read 468 times) |
|
5cameron
|
how to refer to dynamically generated objects
« on: Apr 1st, 2005, 3:29am » |
|
Hi all, I'm making a program in P5 that creates a new "popup" object when someone clicks on something. How do I create the array to refer to the popup objects when how many are on the screen at any one time is variable? I was wondering if maybe there was a way to "push" a new object onto an array, like you can do in Actionscript. IE: add a 6th element to an array thats already defined as having 5 elements. A million points to the person who helps ease the headache this is giving me. THANKS C
|
|
|
|
cello
|
Re: how to refer to dynamically generated objects
« Reply #1 on: Apr 1st, 2005, 4:32am » |
|
java.util.Vector, perhaps. Marcello
|
|
|
|
|