Exemple #1
0
        private void Initialize(string datFilename)
        {
            Dispatcher = new Dispatcher();
            Scheduler  = new Scheduler(Dispatcher);

            Dispatcher.Start();
            Scheduler.Start();

            Items = new Items();
            Items.Load(datFilename);

            Map           = new Map(this);
            BattleList    = new BattleList(this);
            Chat          = new Chat(this);
            ProtocolWorld = new ProtocolWorld(this);
        }
Exemple #2
0
 public void SendPong()
 {
     ProtocolWorld.SendServerPong();
 }