Update some things.
This commit is contained in:
parent
f215bc3742
commit
f9d6e7a70a
35 changed files with 575 additions and 905 deletions
|
|
@ -1,13 +1,28 @@
|
|||
#pragma once
|
||||
|
||||
#include "Shared.h"
|
||||
#include <Settings.h>
|
||||
|
||||
namespace Artifact {
|
||||
|
||||
class Server: public Engine<BaseSubsystem> {
|
||||
class ServerSubsystem;
|
||||
|
||||
class Server: public Engine<ServerSubsystem> {
|
||||
public:
|
||||
Settings settings;
|
||||
|
||||
Server() : settings(getServerConfigPath()) {}
|
||||
|
||||
void init();
|
||||
void tick();
|
||||
void run();
|
||||
void addDefaultSubsystems();
|
||||
};
|
||||
|
||||
class ServerSubsystem: public BaseSubsystem {
|
||||
public:
|
||||
Server * server = nullptr;
|
||||
virtual void tick() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue