mabre / team61

Other
2 stars 4 forks source link

Create 3 basic weapons and projectiles #30

Closed mabre closed 10 years ago

mabre commented 10 years ago

Weapon

Projectile

mabre commented 10 years ago

Concerning the iterator problem:

Iterator<TheType> iterator = theList.iterator();
// …
if (! iterator.hasNext()) {
    iterator = theList.iterator();
}
Kegny commented 10 years ago

It is helping, but there ist still the problem that we are needing up to 4 iterators which is switched through etc