コード例 #1
0
        protected virtual void NormalUsage()
        {
            Console.WriteLine("Accessing normal functions...");

            OnlyMode(Mode.Normal);
            if (CurrentModes.Contains(Mode.Director))
            {
                CurrentModes.Remove(Mode.Director);
            }
        }
コード例 #2
0
 protected override void NormalUsage()
 {
     Console.WriteLine("Accessing normal functions...");
     OnlyModes(new List <Mode> ()
     {
         Mode.Normal, Mode.Weapon
     });
     if (CurrentModes.Contains(Mode.Director))
     {
         CurrentModes.Remove(Mode.Director);
     }
 }