Java Code Examples for org.andengine.entity.IEntity#setScale()

The following examples show how to use org.andengine.entity.IEntity#setScale() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ScaleModifier.java    From tilt-game-android with MIT License 4 votes vote down vote up
@Override
protected void onSetInitialValues(final IEntity pEntity, final float pScaleA, final float pScaleB) {
	pEntity.setScale(pScaleA, pScaleB);
}
 
Example 2
Source File: ScaleModifier.java    From tilt-game-android with MIT License 4 votes vote down vote up
@Override
protected void onSetValues(final IEntity pEntity, final float pPercentageDone, final float pScaleA, final float pScaleB) {
	pEntity.setScale(pScaleA, pScaleB);
}
 
Example 3
Source File: ScaleModifier.java    From 30-android-libraries-in-30-days with Apache License 2.0 4 votes vote down vote up
@Override
protected void onSetInitialValues(final IEntity pEntity, final float pScaleA, final float pScaleB) {
	pEntity.setScale(pScaleA, pScaleB);
}
 
Example 4
Source File: ScaleModifier.java    From 30-android-libraries-in-30-days with Apache License 2.0 4 votes vote down vote up
@Override
protected void onSetValues(final IEntity pEntity, final float pPercentageDone, final float pScaleA, final float pScaleB) {
	pEntity.setScale(pScaleA, pScaleB);
}