Skip to content

Commit

Permalink
Removed old space map and implemented new space map
Browse files Browse the repository at this point in the history
  • Loading branch information
TDay1 committed Sep 6, 2023
1 parent bf2d7cd commit b72fc74
Show file tree
Hide file tree
Showing 10 changed files with 411 additions and 514 deletions.
4 changes: 3 additions & 1 deletion source/core/src/main/com/csse3200/game/GdxGame.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,16 @@ private Screen newScreen(ScreenType screenType) {
return new SpaceMapScreen(this);
case EXTRACTOR_GAME:
return new ExtractorMiniGameScreen(this);
case NAVIGATION_SCREEN:
return new SpaceNavigationScreen(this);
default:
return null;
}
}

public enum ScreenType {

MAIN_MENU, MAIN_GAME, SETTINGS, TITLE_SCREEN,SPACE_MAP ,EXTRACTOR_GAME, GAME_STORY
MAIN_MENU, MAIN_GAME, SETTINGS, TITLE_SCREEN,SPACE_MAP ,EXTRACTOR_GAME, GAME_STORY, NAVIGATION_SCREEN

}

Expand Down
121 changes: 0 additions & 121 deletions source/core/src/main/com/csse3200/game/areas/NavigationArea.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ private void onExtractor(){
}

private void onSpaceMap() {
logger.info("Launching Space Map in Screen");
game.setScreen(GdxGame.ScreenType.MAIN_GAME);
((MainGameScreen)game.getScreen()).loadSpaceMap();
logger.info("Launching space map screen");
game.setScreen(GdxGame.ScreenType.NAVIGATION_SCREEN);
}

}
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit b72fc74

Please sign in to comment.