Made changes based on DoD review. Class documentation and commenting added. Removed annotation features. Removed sout commands. #story[1189]

This commit is contained in:
zwu18
2017-09-11 21:07:52 +12:00
parent 5e35cd4195
commit fc9a4898d6
5 changed files with 46 additions and 24 deletions
@@ -9,20 +9,10 @@ import static visualiser.app.App.keyFactory;
import java.util.ArrayList;
/**
* Created by zwu18 on 10/09/17.
* State of which stage the tutorial is currently in
*/
public enum TutorialState {
// keyState.put("Z", new ZoomInKey());
// keyState.put("X", new ZoomOutKey());
// keyState.put("SPACE", new VMGKey());
// keyState.put("SHIFT", new SailsToggleKey());
// keyState.put("ENTER", new TackGybeKey());
// keyState.put("UP", new UpWindKey());
// keyState.put("DOWN", new DownWindKey());
/**
* State for upwind in tutorial
*/
@@ -53,12 +43,16 @@ public enum TutorialState {
*/
SAILSOUT(BoatActionEnum.SAILS_OUT),
/**
* State for zoom-in in tutorial
*/
ZOOMIN(null),
/**
* State for zoom-out in tutorial
*/
ZOOMOUT(null);
private BoatActionEnum action;
TutorialState(BoatActionEnum action){