summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf/java1/aufgabe07/WechselSpieler.java
blob: 5c6ec557e355cdc24639757569ae6b8766c08a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * 
 */
package de.fhswf.in.inf.java1.aufgabe07;

/**
 * This player always changes the shell.
 *
 * @author $Author: $
 * @version $Revision: $, $Date: $ UTC
 */
public class WechselSpieler extends Spieler
{   
   /* (non-Javadoc)
    * @see de.fhswf.in.inf.java1.aufgabe07.Spieler#zweiterTipp(int)
    */
   @Override
   public int zweiterTipp(int leeresHuetchen)
   {
      return Spiel.MAXHUET - getErsterTipp() - leeresHuetchen;
   }
}