Commit 8ac7c22c authored by Killian LUCAS's avatar Killian LUCAS
Browse files

update of conception.adoc

parent b00a3322
......@@ -1521,4 +1521,55 @@ package Handler{
}
....
== User
.Package User
[plantuml]
....
package User{
class PlayerInterface{
+ sendGameDescription(gameDescription : TDescription) : TRoomId
+ sendGameStart()
+ sendGameIsFinished(winner : TPlayerTeam)
+ sendFirstRoundStart()
+ sendStartPhase(phase : TPhase, gameDescription : TDescription)
+ askAction(askedAction : TAskAction ) : TAction
+ sendAction(askedAction : TAskAction )
+ sendResponse(response : Response )
}
class PlayerProxy{
- client : PlayerService.Client
+ ping() : boolean
+ sendGameStart()
+ sendGameDescription(gameDescription : TDescription)
+ sendGameIsFinished(winner : TplayerTeam)
+ sendFirstRoundStart()
+ sendStartPhase(phase : TPhase, gameDescription : TDescription)
+ askAction(askedAction : TAskAction ) : TAction
+ sendAction(askedAction : TAskAction )
+ sendResponse(response : Response )
}
class User{
- id : String
- name : String
- service : PlayerProxy
+ getId() : String
+ getName() : String
+ getService() : PlayerProxy
+ ping() : boolean
+ sendGameStart()
+ sendGameDescription(gameDescription : TDescription)
+ sendGameIsFinished(winner : TplayerTeam)
+ sendFirstRoundStart()
+ sendStartPhase(phase : TPhase, gameDescription : TDescription)
+ askAction(askedAction : TAskAction ) : TAction
+ sendAction(askedAction : TAskAction )
+ sendResponse(response : Response )
+ equals(obj : Object ) : boolean
+ hashCode() : Integer
}
}
....
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