예제 #1
0
        public void ActivateGps(GpsRadarProvider trait, Player owner)
        {
            if (providers.Contains(trait))
            {
                return;
            }

            providers.Add(trait);
            RefreshGps(owner);
        }
예제 #2
0
        public void DeactivateGps(GpsRadarProvider trait, Player owner)
        {
            if (!providers.Contains(trait))
            {
                return;
            }

            providers.Remove(trait);
            RefreshGps(owner);
        }