2018-07-06 13:30:00 +00:00
|
|
|
package com.eu.habbo.habbohotel.items;
|
|
|
|
|
|
|
|
import com.eu.habbo.habbohotel.users.HabboItem;
|
|
|
|
|
2019-05-26 21:14:53 +03:00
|
|
|
public class ItemInteraction {
|
2018-07-06 13:30:00 +00:00
|
|
|
private final String name;
|
|
|
|
private final Class<? extends HabboItem> type;
|
|
|
|
|
2018-07-08 21:32:00 +00:00
|
|
|
|
2019-05-26 21:14:53 +03:00
|
|
|
public ItemInteraction(String name, Class<? extends HabboItem> type) {
|
2018-07-06 13:30:00 +00:00
|
|
|
this.name = name;
|
|
|
|
this.type = type;
|
|
|
|
}
|
|
|
|
|
2018-07-08 21:32:00 +00:00
|
|
|
|
2019-05-26 21:14:53 +03:00
|
|
|
public Class<? extends HabboItem> getType() {
|
2018-07-06 13:30:00 +00:00
|
|
|
return this.type;
|
|
|
|
}
|
|
|
|
|
2018-07-08 21:32:00 +00:00
|
|
|
|
2019-05-26 21:14:53 +03:00
|
|
|
public String getName() {
|
2018-07-06 13:30:00 +00:00
|
|
|
return this.name;
|
|
|
|
}
|
|
|
|
}
|