| 1 | package com.takenoko.actions.actors; | |
| 2 | ||
| 3 | import com.takenoko.actions.annotations.ActionAnnotation; | |
| 4 | import com.takenoko.actions.annotations.ActionType; | |
| 5 | import com.takenoko.vector.PositionVector; | |
| 6 | ||
| 7 | @ActionAnnotation(ActionType.FORCED) | |
| 8 | public class ForcedMovePandaAction extends MovePandaAction { | |
| 9 | /** | |
| 10 | * Constructor for the MovePandaAction class. | |
| 11 | * | |
| 12 | * @param relativePositionVector the position vector to move the panda | |
| 13 | */ | |
| 14 | public ForcedMovePandaAction(PositionVector relativePositionVector) { | |
| 15 | super(relativePositionVector); | |
| 16 | } | |
| 17 | ||
| 18 | @Override | |
| 19 | public String toString() { | |
| 20 |
1
1. toString : replaced return value with "" for com/takenoko/actions/actors/ForcedMovePandaAction::toString → TIMED_OUT |
return "ForcedMovePandaAction{" + super.toString() + '}'; |
| 21 | } | |
| 22 | } | |
Mutations | ||
| 20 |
1.1 |