Context Menu Design: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Magodra (talk | contribs)
Created page with " == Sequence Diagram == <uml> actor Player Player -> Client : Context select note right: (Default Right Click Item/Actor/...) Client -> Server : UserAction note right: Contex..."
 
Magodra (talk | contribs)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:


== Sequence Diagram ==
== Message Sequence Diagram ==


<uml>
<uml>
Line 6: Line 6:
Player -> Client : Context select
Player -> Client : Context select
note right: (Default Right Click Item/Actor/...)
note right: (Default Right Click Item/Actor/...)
Client -> Server : UserAction
Client -\\ Server : UserActionMessage
note right: Context action.
note right: Context action.
Client <- Server : GuiInteract
Client //- Server : GUIInteractMessage
Client -> Client : Show Context Menu
Client -> Client : Show Context Menu
Player -> Client : Select context menu item
Player -> Client : Select context menu item
Client -> Server : Request selected function
Client -\\ Server : Request selected function
</uml>
 
== Server Sequence Diagram ==
The following sequence diagram show essential sequences in the server handling of the User Action Message.
<uml>
actor Network
Network -\\ EntityManager : psUserActionMessage
EntityManager -> Client : SetTargetObject
EntityManager -> gemObject : SendBehaviorMessage
note right: Determine what interaction that is available for selected element.
Network //- gemObject : psGUIInteractionMessage
</uml>
</uml>

Latest revision as of 09:21, 23 December 2013

Message Sequence Diagram

Server Sequence Diagram

The following sequence diagram show essential sequences in the server handling of the User Action Message.