Made changes based on DoD review. Class documentation and commenting added. Removed annotation features. Removed sout commands. #story[1189]
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user