コード例 #1
0
        static void Main(string[] args)
        {
            Levels.GenerateLevel1();
            Scene.Rendor(Levels.Frame);

            Hero.GetTargetCoordinates(Levels.Frame);

            asteroid.SpawnAsteroidAsync(Levels.Frame, false, Scene);
            GetKeyAsync();
            while (true)
            {
                //var keyInfo = Console.ReadKey();
                Hero.MoveTarget(keyInfo, Levels.Frame, Scene);
                keyInfo = new ConsoleKeyInfo();
                Thread.Sleep(100);
                Scene.Rendor(Levels.Frame);
            }
        }