Package playn.core
Class TileSource
java.lang.Object
playn.core.TileSource
- Direct Known Subclasses:
Image
,Image.Region
,Tile
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TileSource
public TileSource()
-
-
Method Details
-
isLoaded
public abstract boolean isLoaded()Returns whether this tile source is loaded and ready to provide its tile. -
tile
Returns the tile provided by this source.- Throws:
IllegalStateException
- if!isLoaded()
.
-
tileAsync
Delivers the tile provided by this source once the source is loaded.
-