|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Player | |
|---|---|
| net.sourceforge.yagurashogi.server | Yagura Shogi Server is just another shogi server compatible with the CSA Server Protocol v.1.1. |
| Uses of Player in net.sourceforge.yagurashogi.server |
|---|
| Fields in net.sourceforge.yagurashogi.server declared as Player | |
|---|---|
Player |
Game.player1
|
Player |
Game.player2
|
| Fields in net.sourceforge.yagurashogi.server with type parameters of type Player | |
|---|---|
java.util.Hashtable<java.lang.String,Player> |
ShogiServer.playersByName
|
java.util.Hashtable<java.lang.String,Player> |
ShogiServer.playersBySocket
|
| Methods in net.sourceforge.yagurashogi.server that return Player | |
|---|---|
Player |
Game.getCurrentPlayer()
Returns the player whose turn is now. |
| Methods in net.sourceforge.yagurashogi.server with parameters of type Player | |
|---|---|
void |
Game.agree(Player who)
One of the players agrees to the conditions. |
void |
Game.claimWin(Player who)
One of the players claims that he has won. |
boolean |
Game.move(Player who,
java.lang.String what)
One of the players wants to move one of his pieces. |
void |
Game.reject(Player who)
One of the players rejects the conditions. |
void |
Game.surrender(Player who)
One of the players surrenders. |
void |
Game.timeUp(Player who)
Deals with the situation when the time is up. |
| Constructors in net.sourceforge.yagurashogi.server with parameters of type Player | |
|---|---|
Game(ShogiServer shogiServer,
java.lang.String gameName,
Player p1,
Player p2)
Creates new game proposal for two players. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||