/// <summary> /// 开始 /// </summary> public override void Run(List<RoleBase> players, Space space) { this.space = space; this.players = players; players[0].PositionChanged += new DependencyPropertyChangedEventHandler(player0_PositionChanged); checkTimer.Start(); //离开的传送门(测试用) space.AddAnimation(new AnimationBase() { ID = 0, Code = 81, Position = new Point(-1320, 1970), Z = 1970, Tip = "离开副本", Loop = true, }); space.RunWeather(WeatherTypes.Cloud, 50); }