Class LLooperList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<LLooper>
              extended by LLooperList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<LLooper>, java.util.Collection<LLooper>, java.util.List<LLooper>, java.util.RandomAccess

public class LLooperList
extends java.util.ArrayList<LLooper>

The Class LLooperList that holds all the loopers in the game.

See Also:
Serialized Form

Constructor Summary
LLooperList(LGrid g)
          Instantiates a new looper list.
 
Method Summary
 void createLoopers(int number)
          Creates all the loopers.
 void startLoopers()
          Start loopers.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

LLooperList

public LLooperList(LGrid g)
Instantiates a new looper list.

Parameters:
g - the grid
Method Detail

createLoopers

public void createLoopers(int number)
Creates all the loopers.

Parameters:
number - the number

startLoopers

public void startLoopers()
                  throws java.lang.Exception
Start loopers.

Throws:
java.lang.Exception - the exception