Exemplo n.º 1
0
        public Script(string Line, int Level)
        {
            this.Level      = Level;
            this.ScriptLine = Line;

            switch (ActionScript.CSL().ScriptVersion)
            {
            case 2:
                if (!String.IsNullOrEmpty(Line))
                {
                    ScriptV2.Initialize(Line);
                }
                break;
            }
        }
Exemplo n.º 2
0
 public void Update(GameTime gameTime)
 {
     if (Level == ActionScript.ScriptLevelIndex)
     {
         switch (ActionScript.CSL().ScriptVersion)
         {
         case 2:
             ScriptV2.Update(gameTime);
             break;
         }
     }
     else
     {
         this.IsReady = true;
     }
 }