# Reset Arraylist of "Enemies" in order to Replay the Game

**URL:** <https://discourse.processing.org/t/reset-arraylist-of-enemies-in-order-to-replay-the-game/16975>\
**Category:** Coding Questions\
**Created:** [January 9, 2020, 2:22am UTC](https://discourse.processing.org/t/reset-arraylist-of-enemies-in-order-to-replay-the-game/16975 "2020-01-09T02:22:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [January 9, 2020, 2:09pm UTC](https://discourse.processing.org/t/reset-arraylist-of-enemies-in-order-to-replay-the-game/16975/5 "2020-01-09T14:09:46Z")

</div>

now we need you to REPAIR your first CODE POSTING,  
not make a other / new /better post.  
( just think about the hundred peoples opening your topic in the future )

* * *

also i see i asked you already here at your last topic to format your code,  
[Make text that is drawn, editable](https://discourse.processing.org/t/make-text-that-is-drawn-editable/15091/4) ,  
resulting that the admin needed later to repair it for you!!!

* * *

i see you make a single

```auto
Enemies e;

//enemies array
ArrayList enemiesRowOne = new ArrayList();

```

and later

```auto
enemiesRowOne= new ArrayList();
for (int i=0; i < 30; i++) {
    enemiesRowOne.add(new Enemies());
}

```

so what is your question about reset arraylist?  
just do that again ?

---

_[View the full topic](https://discourse.processing.org/t/reset-arraylist-of-enemies-in-order-to-replay-the-game/16975)._
