Added weather

This commit is contained in:
Light2
2013-11-21 15:17:32 +01:00
parent 3f721f876f
commit e7350687db
5 changed files with 139 additions and 2 deletions
+6
View File
@@ -52,6 +52,7 @@ import services.SkillModService;
import services.SkillService;
import services.StaticService;
import services.TerrainService;
import services.WeatherService;
import services.chat.ChatService;
import services.combat.CombatService;
import services.command.CombatCommand;
@@ -132,6 +133,7 @@ public class NGECore {
public EquipmentService equipmentService;
public TravelService travelService;
public EntertainmentService entertainmentService;
public WeatherService weatherService;
// Login Server
public NetworkDispatch loginDispatch;
@@ -143,6 +145,7 @@ public class NGECore {
private ObjectDatabase creatureODB;
private ObjectDatabase mailODB;
public NGECore() {
@@ -275,6 +278,9 @@ public class NGECore {
travelService.startShuttleSchedule();
weatherService = new WeatherService(this);
weatherService.loadPlanetSettings();
didServerCrash = false;
System.out.println("Started Server.");
setGalaxyStatus(2);