示例#1
0
        public void AwardRibbonToKerbals(object ribbon, ProtoCrewMember[] kerbals)
        {
            HallOfFame halloffame = HallOfFame.Instance();

            halloffame.BeginArwardOfRibbons();
            foreach (ProtoCrewMember kerbal in kerbals)
            {
                halloffame.Record(kerbal, (Ribbon)ribbon);
            }
            halloffame.EndArwardOfRibbons();
        }
            public void Record(Ribbon ribbon, ProtoCrewMember kerbal)
            {
                Achievement achievement = ribbon.GetAchievement();

                hallOfFame.Record(kerbal, ribbon);
            }