hello everyone :)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
54e6e2de6b
commit
6c2b4076f9
@ -1,19 +1,22 @@
|
|||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
using QwirkleClassLibrary.Boards;
|
||||||
|
using QwirkleClassLibrary.Players;
|
||||||
|
using QwirkleClassLibrary.Tiles;
|
||||||
|
|
||||||
namespace QwirkleClassLibrary;
|
namespace QwirkleClassLibrary.Games;
|
||||||
|
|
||||||
public interface IPlayer
|
public interface IPlayer
|
||||||
{
|
{
|
||||||
public Player CreatePlayer(string playerTag);
|
public Player CreatePlayer(string playerTag);
|
||||||
|
|
||||||
public string SetNextPlayer();
|
public string SetNextPlayer();
|
||||||
|
|
||||||
public string SetFirstPlayer();
|
public string SetFirstPlayer();
|
||||||
|
|
||||||
public bool PlaceTile(Player player, Tile tile, int x, int y);
|
public bool PlaceTile(Player player, Tile tile, int x, int y);
|
||||||
|
|
||||||
public bool DrawTiles(Player player);
|
public bool DrawTiles(Player player);
|
||||||
|
|
||||||
public bool SwapTiles(Player player, List<Tile> tilesToSwap);
|
public bool SwapTiles(Player player, List<Tile> tilesToSwap);
|
||||||
|
|
||||||
public int GetPlayerScore(Player player, ReadOnlyCollection<Cell> cellsPlayed, Board b);
|
public int GetPlayerScore(Player player, ReadOnlyCollection<Cell> cellsPlayed, Board b);
|
Loading…
Reference in new issue