Skip to content

Commit

Permalink
Forgot to fix comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
HoneySkull committed Jan 14, 2024
1 parent 0fc2718 commit f27e4d4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions megamek/src/megamek/client/ui/swing/MovementDisplay.java
Original file line number Diff line number Diff line change
Expand Up @@ -4552,14 +4552,11 @@ public void computeMovementEnvelope(Entity suggestion) {

/**
* Computes possible moves for entities of Aero units. This is similar to the
* `computeMovementEnvelope()` method; however, it keeps track of a deltaV so
* that a dynamic movement envelope can be calculated when an Aerospace unit
* accelerates or de-accelerates during the movement phase before the "move" button
* is pressed.
* `computeMovementEnvelope()` method; however, it uses the `MovePath`
* final velocity to temporarily set units velocity to draw the move envelope.
* This method always sets the original entity velocity back to it's orginial.
*
* @param entity - Suggested entity to use to compute Aero move envelope.
* @param deltaV - Delta Velocity from units current velocity. The temporary
* deltaV will be updated by this amount (positive or negative)
* @return - This method will do nothing if the Entity passed in is null or
* is not an Aero based unity.
*/
Expand Down

0 comments on commit f27e4d4

Please sign in to comment.