Package com.b3dgs.lionengine.helper
Class EntityModelHelper
- java.lang.Object
-
- com.b3dgs.lionengine.game.feature.FeatureAbstract
-
- com.b3dgs.lionengine.game.feature.FeatureModel
-
- com.b3dgs.lionengine.helper.EntityModelHelper
-
- All Implemented Interfaces:
Feature,FeatureProvider
@FeatureInterface public class EntityModelHelper extends FeatureModel
Entity model implementation.
-
-
Field Summary
Fields Modifier and Type Field Description protected InputDeviceControlinputInput reference.-
Fields inherited from class com.b3dgs.lionengine.game.feature.FeatureModel
services, setup
-
-
Constructor Summary
Constructors Constructor Description EntityModelHelper(Services services, Setup setup)Create model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputDeviceControlgetInput()Get current input device control.voidsetInput(InputDeviceControl input)Set the input device used.-
Methods inherited from class com.b3dgs.lionengine.game.feature.FeatureAbstract
checkListener, getFeature, getFeatures, getFeaturesType, hasFeature, prepare
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.b3dgs.lionengine.game.FeatureProvider
ifIs
-
-
-
-
Field Detail
-
input
protected InputDeviceControl input
Input reference.
-
-
Constructor Detail
-
EntityModelHelper
public EntityModelHelper(Services services, Setup setup)
Create model.- Parameters:
services- The services reference (must not benull).setup- The setup reference (must not benull).- Throws:
LionEngineException- If invalid arguments.
-
-
Method Detail
-
setInput
public void setInput(InputDeviceControl input)
Set the input device used.- Parameters:
input- The input reference.
-
getInput
public InputDeviceControl getInput()
Get current input device control.- Returns:
- The input reference.
-
-