Class PlayerActionRequest
java.lang.Object
it.polimi.ingsw.Server.Messages.Message
it.polimi.ingsw.Server.Messages.Events.Requests.ClientRequest
it.polimi.ingsw.Server.Messages.Events.Requests.PlayerActionRequest
- All Implemented Interfaces:
ClientEvent
,Serializable
Represents a Client attempting to run a
PlayerAction
on the game- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
playerAction
-
-
Constructor Details
-
PlayerActionRequest
Construct the request- Parameters:
action
- the action the user wishes to run
-
-
Method Details
-
getAction
Get the user defined action- Returns:
- a
PlayerAction
to run on aController
-