- All Implemented Interfaces:
Command
public final class AttackCommand
extends Object
implements Command
This
Command
will pass the users attack indicator into the current
IScene
.
- Author:
- Dominik Fuchss
- See Also:
-
-
Constructor Summary
Constructors
Create the command by its supervisor.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AttackCommand
Create the command by its supervisor.
- Parameters:
supervisor
- the supervisor
-
Method Details
-
execute
public void execute(Object... params)
Description copied from interface: Command
Execute the command.
- Specified by:
execute
in interface Command
- Parameters:
params
- the parameters