-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGameEngine.java
More file actions
36 lines (29 loc) · 1000 Bytes
/
Copy pathGameEngine.java
File metadata and controls
36 lines (29 loc) · 1000 Bytes
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
/* TAG: Team Adventure Game
* Code: Don Combs
* 11-24-2019 To Current Date
*
*/
import java.util.Scanner;
public class GameEngine {
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();
Player.CHAR_MAX_HIT_POINTS = ((int) ExpLevel.ExpConfig[Player.CHARACTER_LEVEL].ExpPointsNeeded)/2; //Modify as needed
Armor.LoadArmors();
Weapon.LoadWeapons();
Magic_Armor.LoadMagicArmors();
Magic_Weapon.LoadMagicWeapons();
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();
}
}