You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
607 B

package cx.sfy.TheBridge.tops;
import cx.sfy.TheBridge.Main;
public class Top {
private BoardType type;
private int amount;
private int top;
private String name;
public Top(String name, int amount, BoardType type) {
this.type = type;
this.amount = amount;
this.name = name;
this.top = Main.get().getTOP().getTopNumber(this);
Main.get().getTOP().addTop(this);
}
public BoardType getType() {
return type;
}
public int getTop() {
return top;
}
public int getAmount() {
return amount;
}
public String getName() {
return name;
}
}