Class AnimationEntityScenePositioningStrategy
java.lang.Object
com.pixelmonmod.pixelmon.client.render.battle.positioning.AnimationEntityScenePositioningStrategy
- All Implemented Interfaces:
ScenePositioningStrategy
public class AnimationEntityScenePositioningStrategy
extends Object
implements ScenePositioningStrategy
Places modelled attack animation entities into the active battle scene.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(BattleSceneClientLevel scene, ClientBattleManager battleManager) Places the entities owned by this strategy.booleanisApplicable(BattleSceneClientLevel scene, ClientBattleManager battleManager) Checks whether this strategy can apply its placement responsibility to the current battle and scene.
-
Constructor Details
-
AnimationEntityScenePositioningStrategy
public AnimationEntityScenePositioningStrategy()
-
-
Method Details
-
isApplicable
Description copied from interface:ScenePositioningStrategyChecks whether this strategy can apply its placement responsibility to the current battle and scene.- Specified by:
isApplicablein interfaceScenePositioningStrategy- Parameters:
scene- the active battle scenebattleManager- the current client battle state- Returns:
- true if this strategy has enough state and markers to apply
-
apply
Description copied from interface:ScenePositioningStrategyPlaces the entities owned by this strategy.- Specified by:
applyin interfaceScenePositioningStrategy- Parameters:
scene- the active battle scenebattleManager- the current client battle state
-