games.strategy.engine.data
Class UnitsList

java.lang.Object
  extended by games.strategy.engine.data.UnitsList
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<Unit>

public class UnitsList
extends java.lang.Object
implements java.io.Serializable, java.lang.Iterable<Unit>

See Also:
Serialized Form

Method Summary
 java.util.Collection<Unit> getUnits()
           
 java.util.Iterator<Unit> iterator()
           
 void put(Unit unit)
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

put

public void put(Unit unit)

getUnits

public java.util.Collection<Unit> getUnits()

refresh

public void refresh()

iterator

public java.util.Iterator<Unit> iterator()
Specified by:
iterator in interface java.lang.Iterable<Unit>