Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions exercises/concept/wizards-and-warriors-2/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
],
"files": {
"solution": [
"src/main/java/GameMaster.java"
"src/main/java/GameMaster.java",
"src/main/java/TravelMethod.java"
],
"test": [
"src/test/java/GameMasterTest.java"
Expand All @@ -18,8 +19,7 @@
],
"editor": [
"src/main/java/Character.java",
"src/main/java/Destination.java",
"src/main/java/TravelMethod.java"
"src/main/java/Destination.java"
],
"invalidator": [
"build.gradle"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Represents a Character in the game.
*
* NOTE: There is no need to change this file and is treated as read only by the Exercism test runners.
*/
public class Character {
private String characterClass;
private int level;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Represents a Destination.
*
* NOTE: There is no need to change this file and is treated as read only by the Exercism test runners.
*/
public class Destination {
private String name;
private int inhabitants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Represents an item that can be placed in the knapsack.
*
* NOTE: There is no need to change this file and is treated as read only by the Exercism test runners.
*/
class Item {

// Weight of the item
Expand Down