Commit 9c88a201 authored by Killian LUCAS's avatar Killian LUCAS
Browse files

update of conception.adoc

parent 6b7ace3d
...@@ -1517,34 +1517,23 @@ package utilitary{ ...@@ -1517,34 +1517,23 @@ package utilitary{
== Handler == Handler
.Package utilitary .Package Handler
[plantuml] [plantuml]
.... ....
package utilitary{ package Handler{
class GameServiceHandler{ class GameServiceHandler{
- service : RoomService - service : RoomService
+ createRoom(playerId : TPlayerId) : TRoomId + createRoom(playerId : TPlayerId) : TRoomId
+ sendStartGame(playerId : TPlayerId, idCreature : Integer, TBoard : board, Tcolor : color, tPlaceCards : TCard[*]) : Response + sendStartGame(playerId : TPlayerId, idCreature : Integer, TBoard : board, Tcolor : color, tPlaceCards : TCard[*]) : Response
+ joinRoom(playerId : TPlayerId, roomId : TRoomId) : Response + joinRoom(playerId : TPlayerId, roomId : TRoomId) : Response
+ getGameDescription(playerId : TPlayerId) : Response + getGameDescription(playerId : TPlayerId) : Response
+ waitStartPhase(playerId : TPlayerId, phaseId : TPhaseId) : Response
+ sendFinishPhase(playerId : TPlayerId, phaseId : TPhaseId) : Response + sendFinishPhase(playerId : TPlayerId, phaseId : TPhaseId) : Response
+ sendPlayCards(playerId : TPlayerId, playerCards : TCard[*]) : Response + sendPlayCards(playerId : TPlayerId, playerCards : TCard[*]) : Response
+ sendPlaceJetons(playerId : TPlayerId, placedJetons : TPlacedJeton[*]) : Response + sendPlaceJetons(playerId : TPlayerId, placedJetons : TPlacedJeton[*]) : Response
+ sendResist(playerId : TPlayerId, number : Integer) : Response + sendResist(playerId : TPlayerId, number : Integer) : Response
+ sendGiveUp(playerId : TPlayerId) : Response + sendGiveUp(playerId : TPlayerId) : Response
+ sendChooseAction(playerId : TPlayerId, actions : TAction) : Response
} }
class PlayerServiceHandler{
+ ping() : boolean
- sendGameDescription(team : TplayerTeam, hand : THand, score : TScore, planet : TPlanet, reserve : TCardReserve[*], traquesInformation : TTraque[*], creatureInformation : TCreature)
- sendGameStart()
- sendFirstRoundStart()
- sendStartPhase(phaseId : TPhaseId, team : TPlayerTeam, hand : THand, score : TScore, planet : TPlanet, reserve : TCardReserve[*], traquesInformation : TTraque[*], creatureInformation : TCreature)
+ askAction(askedAction : TAskAction) : TAction
- sendActionWithoutExpectedResponse(askedAction : TAskAction)
}
} }
.... ....
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment