public interface FeatureProvider
Modifier and Type | Method and Description |
---|---|
<C extends Feature> |
getFeature(Class<C> feature)
Get a feature instance from its type.
|
Iterable<Feature> |
getFeatures()
Get the supported features.
|
Iterable<Class<? extends Feature>> |
getFeaturesType()
Get the supported features type.
|
boolean |
hasFeature(Class<? extends Feature> feature)
Check a feature existence from its type.
|
<C extends Feature> C getFeature(Class<C> feature)
Feature
is not prepared.C
- The custom feature type.feature
- The feature type.LionEngineException
- If feature not found.Iterable<Feature> getFeatures()
Iterable<Class<? extends Feature>> getFeaturesType()
Copyright © 2017 Byron 3D Games Studio. All rights reserved.