-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGameEngineTwo.java
More file actions
48 lines (39 loc) · 1.49 KB
/
Copy pathGameEngineTwo.java
File metadata and controls
48 lines (39 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* TAG: Team Adventure Game
* Code: Don Combs
* 11-24-2019 To Current Date
*
*/
import java.util.Scanner;
public class GameEngineTwo {
public static final String NEWLINE = System.getProperty("line.separator");//This will retrieve line separator dependent on OS.
public static String[][] PlayerConfig = new String[20][20];
public static void main(String[] args) {
//
Player.CheckSavedCharacter();
Town.LoadTowns();
ExpLevel.LoadExpLevels();
Armor.LoadArmors();
Weapon.LoadWeapons();
Magic_Armor.LoadMagicArmors();
Magic_Weapon.LoadMagicWeapons();
if(Player.CHAR_EXP_POINTS >= ExpLevel.ExpConfig[Player.CHARACTER_LEVEL].ExpPointsNeeded) {
Player.CHAR_LEVEL_UP_QUEST_AVAILABLE = true;
}
System.out.println("\t--------------");
String characterType = Player.CHARACTER_TYPE;
System.out.println(String.format("\tYour Character Class is: " + characterType +
", and the name of your character is: %s", Player.CHARACTER_NAME));
System.out.println("");
System.out.println("\tTo play the game you need to select what you want to do from the options given to you. "
+ GameEngine.NEWLINE + "\tFor this first town you can select from the options below.\n");
Town.CurrentTown();
}
public static void TravelNextTown() {
System.out.println("ERROR ---ERROR---0");
TravelNextTown.TravelToNextTown();
}
public static void CurrentTown() {
System.out.println("ERROR ---ERROR---1");
Town.CurrentTown();
}
}