2008-12-23 14:24:37 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
2008-12-23 17:24:31 +00:00
|
|
|
namespace pokerth_lib
|
2008-12-23 14:24:37 +00:00
|
|
|
{
|
2008-12-23 17:24:31 +00:00
|
|
|
public interface ICallback
|
2008-12-23 14:24:37 +00:00
|
|
|
{
|
|
|
|
|
void InitDone();
|
|
|
|
|
void JoinedGame(string name);
|
|
|
|
|
void GameStarted(List<string> players);
|
|
|
|
|
void HandStarted(Hand h);
|
2008-12-23 22:30:02 +00:00
|
|
|
void MyTurn(Hand.State state);
|
|
|
|
|
void PlayersTurn(Hand.State state, string player);
|
|
|
|
|
void ActionDone(string name, Hand.Action action, uint totalBet, uint money, uint highestSet, uint minimumRaise);
|
2008-12-23 14:24:37 +00:00
|
|
|
void Error(string message);
|
|
|
|
|
}
|
|
|
|
|
}
|