merge the new developmentbranch into the test branch #39

Closed
j23f0712 wants to merge 431 commits from development2 into dev/test
166 changed files with 3386 additions and 1723 deletions
Showing only changes of commit 1e46b1dc59 - Show all commits

View File

@@ -0,0 +1,39 @@
package pp.mdga.visitor;
import pp.mdga.game.card.HiddenCard;
import pp.mdga.game.card.ShieldCard;
import pp.mdga.game.card.SwapCard;
import pp.mdga.game.card.TurboCard;
/**
* This interface will be used to realize the visitor pattern inside the application.
*/
public interface Visitor {
/**
* This method will be used to visit the given card parameter.
*
* @param card as a TurboCard object.
*/
void visit(TurboCard card);
/**
* This method will be used to visit the given card parameter.
*
* @param card as a SwapCard object.
*/
void visit(SwapCard card);
/**
* This method will be used to visit the given card parameter.
*
* @param card as a ShieldCard oblect
*/
void visit(ShieldCard card);
/**
* This method will be used to visit the given card parameter.
*
* @param card as a HiddenCard object.
*/
void visit(HiddenCard card);
}