Exemplo n.º 1
0
        static void Main(string[] args)
        {
            IOutputService message = new ConsoleOutput();

            message.WelcomeMessage();

            IPlayer playerOne = new Player();
            IPlayer playerTwo = new Player();

            IRegistrationService reg = new CharacterRegistration();

            reg.Register(playerOne);
            Console.Clear();
            reg.Register(playerTwo);
            Console.Clear();

            message.GetPlayerInfo(playerOne);
            message.GetPlayerInfo(playerTwo);

            Console.ReadLine();
            Console.Clear();


            /*ICombatService combat = new CombatLogic();
             * combat.Battle(playerOne, playerTwo);*/

            Console.ReadLine();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            IOutputService message = new ConsoleOutput();
            message.WelcomeMessage();

            IPlayer playerOne = new Player();
            IPlayer playerTwo = new Player();

            IRegistrationService reg = new CharacterRegistration();
            reg.Register(playerOne);
            Console.Clear();
            reg.Register(playerTwo);
            Console.Clear();

            message.GetPlayerInfo(playerOne);
            message.GetPlayerInfo(playerTwo);

            Console.ReadLine();
            Console.Clear();

            /*ICombatService combat = new CombatLogic();
            combat.Battle(playerOne, playerTwo);*/

            Console.ReadLine();
        }