aboutsummaryrefslogtreecommitdiff
path: root/Info/10/2/Prison/WACHE.java
blob: 03d3b7f10e01951620e6947058f2132eebdee341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class WACHE
{
    private int id;

    public WACHE(int nummer)
    {
        id = nummer;
    }
    
    public void Besuche(int zellenNummer, ZELLE zelle)
    {
        if (zellenNummer % id == 0) {
            zelle.Umschalten();
        }
    }
}