Beispiel #1
0
        public SherryTheMouse()
            : base("the Mouse")
        {
            LuteList = new List <Item>();

            NoteList = RandomNotes();

            Timer.DelayCall(TimeSpan.FromSeconds(5), () =>
            {
                SherryStrongBox b = new SherryStrongBox();
                Box = b;
                b.MoveToWorld(new Point3D(1347, 1642, 80), Map);

                for (int i = 0; i < LuteLocations.Length; i++)
                {
                    Point3D p = LuteLocations[i];

                    SherryLute sl = new SherryLute();
                    LuteList.Add(sl);
                    sl.Note       = NoteList[i].Note;
                    sl.Sound      = NoteList[i].Sound;
                    sl.Controller = this;

                    sl.MoveToWorld(p, Map);
                }
            });
        }