diff --git a/PeopleVille/GameManager.cs b/PeopleVille/GameManager.cs new file mode 100644 index 0000000..7285fef --- /dev/null +++ b/PeopleVille/GameManager.cs @@ -0,0 +1,22 @@ +using PeopleVille.Location; + +namespace PeopleVille +{ + public class GameManager + { + List Stores { get; set; } + + public async Task StartClock() + { + var res = 0; + + while (true) + { + Console.WriteLine($"{res}"); + res++; + // Do something + await Task.Delay(500); + } + } + } +} \ No newline at end of file diff --git a/PeopleVille/Program.cs b/PeopleVille/Program.cs index 3751555..82e2698 100644 --- a/PeopleVille/Program.cs +++ b/PeopleVille/Program.cs @@ -1,2 +1,8 @@ -// See https://aka.ms/new-console-template for more information +using PeopleVille; + +var gameManager = new GameManager(); + +await gameManager.StartClock(); + +// See https://aka.ms/new-console-template for more information Console.WriteLine("Hello, World!");