summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Zone.java
blob: 6acecec4721a674e0255d21152687f31eb6aa40d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package ch.asynk.rustanddust.game;

import ch.asynk.rustanddust.engine.Orientation;
import ch.asynk.rustanddust.engine.TileSet;

public class Zone extends TileSet
{
    public int allowedMoves;
    public Orientation orientation;

    public Zone(Map map, int n)
    {
        super(map, n);
        this.allowedMoves = Orientation.KEEP.s;
        this.orientation = Orientation.KEEP;
    }

    public void add(int col, int row)
    {
        add(((Map) board).getHex(col, row));
    }
}