Class CharacterEnterAction
java.lang.Object
com.csse3200.game.cutscene.runtime.action.CharacterEnterAction
- All Implemented Interfaces:
ActionState
-
Constructor Summary
ConstructorsConstructorDescriptionCharacterEnterAction
(CharacterState characterState, CharacterEnterData characterEnterData) -
Method Summary
-
Constructor Details
-
CharacterEnterAction
-
-
Method Details
-
tick
public void tick(int dtMs) Runs on every game tick to progress logic- Specified by:
tick
in interfaceActionState
- Parameters:
dtMs
- The delta time in milliseconds
-
blocking
public boolean blocking()Description copied from interface:ActionState
Checks if the action is blocking till completion (false if async)- Specified by:
blocking
in interfaceActionState
- Returns:
- True if the action is blocking till completion (false if async)
-
done
public boolean done()Description copied from interface:ActionState
Checks if the action is completed (can be disposed of)- Specified by:
done
in interfaceActionState
- Returns:
- True if the action is completed (can be disposed of)
-