Hey Everyone,
So basically i want to make my spike respawn at the same position it starts at after it hits the ground. I know how i can do it with 1 but i have an array list and i add multiple spikes using this arraylist at different positions. does anyone know how i could do this ?
here is how i add them into the game just so you know
Controller.spikes.add(new Spike(tileMap, 5,1));
Controller.spikes.add(new Spike(tileMap, 10,5));
thanks
- GlennBrann