Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
478 B
0
Indexable
Never
using System.Threading.Tasks;

namespace Piskvorky_JanNeuC3a
{
    internal abstract class Player
    {
        public Board CurrentBoard { get; set; }
        public TicTacToe.Turn PlayersTurn { get; set; }

        protected bool _alreadyMoved = false;

        public async Task MoveAsync()
        {
            await MakeTurnAsync();
        }


        protected abstract Task MakeTurnAsync();

 
        public abstract void OnPlayerMoved();
    }
}