public class SetupSurfaceRastered extends SetupSurface
Configurer
surface
Constructor and Description |
---|
SetupSurfaceRastered(Media config,
Media rasterFile,
boolean smoothRaster)
Create a setup.
|
Modifier and Type | Method and Description |
---|---|
Media |
getFile()
Get the raster file.
|
List<SpriteAnimated> |
getRasters()
Get the rasters.
|
boolean |
hasSmooth()
Check if smooth raster.
|
getSurface, getSurfaceFile
clear, getConfigClass, getConfigFile, getConfigurer
public SetupSurfaceRastered(Media config, Media rasterFile, boolean smoothRaster)
config
- The config media.rasterFile
- The raster media.smoothRaster
- The raster smooth flag.LionEngineException
- If error when opening the media or invalid raster file.public List<SpriteAnimated> getRasters()
public Media getFile()
public boolean hasSmooth()
true
if smooth enabled, false
else.Copyright © 2016 Byron 3D Games Studio. All rights reserved.