Permalink
Browse files

Game - move Verb to top level

  • Loading branch information...
bobbymcr committed Dec 1, 2018
1 parent 7fbad8d commit 7d0f4eff7b93694da75291b46df7ad43bc074a2d
Showing with 13 additions and 7 deletions.
  1. +0 −7 sample/src/Game.cs
  2. +13 −0 sample/src/Verb.cs
@@ -63,12 +63,5 @@ private string Process(CancellationTokenSource cts, Word verb, Word noun)
return "I don't know what '" + verb + "' means.";
}
}

private static class Verb
{
public const string Greet = "greet";
public const string Take = "take";
public const string Quit = "quit";
}
}
}
@@ -0,0 +1,13 @@
// <copyright file="Verb.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>

namespace Adventure.Sample
{
internal static class Verb
{
public const string Greet = "greet";
public const string Take = "take";
public const string Quit = "quit";
}
}

0 comments on commit 7d0f4ef

Please sign in to comment.