You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
761 B
28 lines
761 B
using QwirkleClassLibrary;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace QwirkleConsoleApp
|
|
{
|
|
class NotificationClass
|
|
{
|
|
public void NotificationPlayerAdd(object? sender, AddPlayerNotifiedEventArgs args)
|
|
{
|
|
Console.WriteLine(args.returnedNotified);
|
|
}
|
|
|
|
public void NotificationNextPlayer(object? sender, NextPlayerNotifiedEventArgs args)
|
|
{
|
|
Console.WriteLine(args.player.NameTag + "'s turn");
|
|
}
|
|
|
|
public void NotificationAddTile(object? sender, PlaceTileNotifiedEventArgs args)
|
|
{
|
|
Console.WriteLine("The tile [" + args.tile.ToString() + "] " + args.reason);
|
|
}
|
|
}
|
|
}
|