2018-07-06 15:30:00 +02:00
|
|
|
package com.eu.habbo.habbohotel.items.interactions.games;
|
|
|
|
|
|
|
|
import com.eu.habbo.habbohotel.games.GameTeamColors;
|
|
|
|
import com.eu.habbo.habbohotel.items.Item;
|
|
|
|
import com.eu.habbo.habbohotel.users.HabboItem;
|
|
|
|
|
|
|
|
import java.sql.ResultSet;
|
|
|
|
import java.sql.SQLException;
|
|
|
|
|
2019-05-26 20:14:53 +02:00
|
|
|
public abstract class InteractionGameTeamItem extends HabboItem {
|
2018-07-06 15:30:00 +02:00
|
|
|
public final GameTeamColors teamColor;
|
|
|
|
|
2019-05-26 20:14:53 +02:00
|
|
|
protected InteractionGameTeamItem(ResultSet set, Item baseItem, GameTeamColors teamColor) throws SQLException {
|
2018-07-06 15:30:00 +02:00
|
|
|
super(set, baseItem);
|
|
|
|
|
|
|
|
this.teamColor = teamColor;
|
|
|
|
}
|
|
|
|
|
2019-05-26 20:14:53 +02:00
|
|
|
protected InteractionGameTeamItem(int id, int userId, Item item, String extradata, int limitedStack, int limitedSells, GameTeamColors teamColor) {
|
2018-07-06 15:30:00 +02:00
|
|
|
super(id, userId, item, extradata, limitedStack, limitedSells);
|
|
|
|
|
|
|
|
this.teamColor = teamColor;
|
|
|
|
}
|
|
|
|
}
|