Esempio n. 1
0
 private void OnUpdateTicked(object sender, UpdateTickedEventArgs args)
 {
     foreach (CharacterWalker walker in GameJS.WalkerMap().Values)
     {
         walker.Update();
     }
 }
Esempio n. 2
0
 private void Prepare()
 {
     try
     {
         this.engine.Execute("const refs = {};");
         AddType(typeof(Test));
         AddType(typeof(Log));
         AddObject("engine", this);
         GameJS.Prepare(this);
     }
     catch (FileNotFoundException)
     {
     }
     catch (TypeLoadException)
     {
     }
 }