# Class EffectResolutionCommand

java.lang.Object
it.polimi.ingsw.is25am31.network.socket.serverClientMessages.EffectResolutionCommand

All Implemented Interfaces:
  `ServerClientCommand`, `Serializable`

public class EffectResolutionCommand extends Object implements ServerClientCommand, Serializable
Represents a command sent from the server to the client to put the client in effect resolution state.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EffectResolutionCommand()`
  Constructs a new `EffectResolutionCommand`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `execute(SocketClient client)`
  Executes the command on the `SocketClient`, instructing it to switch to effect resolution state.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EffectResolutionCommand

    public EffectResolutionCommand()
    Constructs a new `EffectResolutionCommand`.

- ## Method Details

  - ### execute

    public void execute(SocketClient client)
    Executes the command on the `SocketClient`, instructing it to switch to effect resolution state.
    Specified by:
      `execute` in interface `ServerClientCommand`
    Parameters:
      `client` - The `SocketClient` instance on which the command will be executed.