示例#1
0
 public CloseTT(object currentModel, string stageName)
 {
     thisModel = (currentModel as AiModel);
     thisModel.GetStage(stageName).LogicInstance = this;
     if (thisModel.GlobalLogicInstance != null)
     {
         k = (GreenSQA.AiMaps.CustomLogic.SmartMap)thisModel.GlobalLogicInstance;
     }
 }
示例#2
0
 public SmartMap(object objMapExecutor)
 {
     mapExecutor      = (objMapExecutor as MapExecutor);
     thisModel        = (mapExecutor.MapModel as AiModel);
     this.driver      = thisModel.SeDriver;
     this.logFilePath = Path.Combine(System.IO.Path.GetDirectoryName(thisModel.ModelPath), "log.txt");
     //this.razorActionPerformer = new ItemActionPerformer();
     this.se = new GSe(thisModel.SeDriver, "0");
 }
示例#3
0
 public AiShip(AiModel aiModel, GameData gameData, bool showhitbar = true) : base(gameData, null, null)
 {
     _aiModel   = aiModel;
     ShowHitbar = aiModel.HitBarShow;
     Initialise();
 }