Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
micropolisj.gui.TileImages Class Reference
Collaboration diagram for micropolisj.gui.TileImages:

Public Member Functions

Image getTileImage (int cell)
Image getSpriteImage (SpriteKind kind, int frameNumber)

Static Public Member Functions

static TileImages getInstance (int size)

Private Member Functions

 TileImages (int size)
Image[] loadTileImages (String resourceName, int srcSize)
void loadSpriteImages ()

Detailed Description

Definition at line 20 of file TileImages.java.

Constructor & Destructor Documentation

micropolisj.gui.TileImages.TileImages ( int  size)
private

Definition at line 26 of file TileImages.java.

References micropolisj.gui.TileImages.loadSpriteImages(), and micropolisj.gui.TileImages.loadTileImages().

Referenced by micropolisj.gui.TileImages.getInstance().

Here is the call graph for this function:

Member Function Documentation

static TileImages micropolisj.gui.TileImages.getInstance ( int  size)
static

Definition at line 42 of file TileImages.java.

References micropolisj.gui.TileImages.TileImages().

Referenced by micropolisj.gui.MicropolisDrawingArea.selectTileSize().

Here is the call graph for this function:

Image micropolisj.gui.TileImages.getSpriteImage ( SpriteKind  kind,
int  frameNumber 
)

Definition at line 73 of file TileImages.java.

Image micropolisj.gui.TileImages.getTileImage ( int  cell)
void micropolisj.gui.TileImages.loadSpriteImages ( )
private

Definition at line 77 of file TileImages.java.

Referenced by micropolisj.gui.TileImages.TileImages().

Image [] micropolisj.gui.TileImages.loadTileImages ( String  resourceName,
int  srcSize 
)
private

Definition at line 54 of file TileImages.java.

Referenced by micropolisj.gui.TileImages.TileImages().


The documentation for this class was generated from the following file: