public class FovableModel extends FeatureModel implements Fovable
Constructor and Description |
---|
FovableModel()
Create a fovable model.
|
Modifier and Type | Method and Description |
---|---|
int |
getInTileFov()
Get the field of view in tile.
|
int |
getInTileHeight()
Get the height in tile.
|
int |
getInTileWidth()
Get the width in tile.
|
int |
getInTileX()
Get horizontal tile location.
|
int |
getInTileY()
Get vertical tile location.
|
void |
prepare(FeatureProvider provider,
Services services)
Prepare the feature.
|
void |
setFov(int fov)
Set the field of view value (in tile).
|
checkListener, getFeature, getFeatures, getFeaturesType, hasFeature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkListener
getFeature, getFeatures, getFeaturesType, hasFeature
public void prepare(FeatureProvider provider, Services services)
Feature
Services
are required.prepare
in interface Feature
prepare
in class FeatureModel
provider
- The owner reference.services
- The services reference.public void setFov(int fov)
Fovable
public int getInTileX()
Tiled
getInTileX
in interface Tiled
public int getInTileY()
Tiled
getInTileY
in interface Tiled
public int getInTileWidth()
Tiled
getInTileWidth
in interface Tiled
public int getInTileHeight()
Tiled
getInTileHeight
in interface Tiled
public int getInTileFov()
Fovable
getInTileFov
in interface Fovable
Copyright © 2016 Byron 3D Games Studio. All rights reserved.