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; } }
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"); }
public AiShip(AiModel aiModel, GameData gameData, bool showhitbar = true) : base(gameData, null, null) { _aiModel = aiModel; ShowHitbar = aiModel.HitBarShow; Initialise(); }