public SlardarBot(List <Frame3D> trajectory, IActor slardar, string slardarType) { this.slardar = Compatibility.Check <Slardar>(this, slardar); PathFinder = new PathFinder(trajectory, slardarType); Trajectory = trajectory; Type = slardarType; this.slardar.OnDie += OnDie; }
public void Initialize(IActor controllableActor) { slardar = Compatibility.Check <Slardar>(this, controllableActor); }