Tacking and gybing merge request Note: this allows the player to perform a common maneuver, changing tack, quickly. The goal is to change the boat's heading from one tack to another with a single keypress. If the boat is heading upwind, the keypress will cause the boat to tack through head-to-wind, so that the wind shifts from one side of the boat to the other. The TWA (true wind angle) after tacking should be 360-TWA(before_tacking). Similarly for gybing if the boat is initially heading downwind, except that the boat's heading always remains away from the wind. Acceptance criteria: - The wind shifts from one side of the boat to the other on keypress - When heading upwind the boat should tack on keypress - When heading downwind the boat should gybe on keypress [Manual test](https://eng-git.canterbury.ac.nz/seng302-2017/team-7/wikis/manual-test:-tacking-and-gybing) See merge request !24main
commit
ab9aeeb58f
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectCodeStyleSettingsManager">
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</component>
|
||||
</project>
|
||||
Loading…
Reference in new issue