public interface Rasterable extends Feature, Updatable, Renderable
Modifier and Type | Method and Description |
---|---|
SpriteAnimated |
getRasterAnim(int rasterIndex)
Get raster animation from raster index.
|
int |
getRasterIndex(double y)
Get raster index from location.
|
void |
setOrigin(Origin origin)
Set the origin location type, related to surface area.
|
checkListener, prepare
getFeature, getFeatures, getFeaturesType, hasFeature
render
int getRasterIndex(double y)
y
- The current y location.SpriteAnimated getRasterAnim(int rasterIndex)
rasterIndex
- The raster index (positive).void setOrigin(Origin origin)
origin
- The origin typeCopyright © 2017 Byron 3D Games Studio. All rights reserved.