public static void Main(string[] args)
         {

             var renderer = new Renderer();
             var engine = new Engine(renderer);
             //ddd
             //testing the hero creation
             engine.CreateHero("assassin", "radoi", new char[,] { { 'O' } });
             //Console.WriteLine(engine.GetHero.GetType()  ); 
             Hero hero = engine.GetHero;
             hero.TopLeft = new MatrixCoords(5, 5);
             engine.GetRenderer.EnqueueForRendering(hero);
             engine.GetRenderer.RenderAll();


             DrawTestIntro();
             //test
         }
Пример #2
0
 public Engine(Renderer render)
 {
     this.renderer = render;
     var units = new List<Unit>();
 }