|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.common.image.UnitImageFactory
public class UnitImageFactory
Utility class to get image for a Unit.
This class is a simplified version of Sean Bridges's games.strategy.triplea.image.UnitImageFactory.
| Constructor Summary | |
|---|---|
UnitImageFactory()
Creates new IconImageFactory |
|
| Method Summary | |
|---|---|
java.awt.Image |
getImage(UnitType type,
PlayerID player,
GameData data)
Return the appropriate unit image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnitImageFactory()
| Method Detail |
|---|
public java.awt.Image getImage(UnitType type,
PlayerID player,
GameData data)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||