Arcturus-Community/src/main/java/com/eu/habbo/habbohotel/items/ItemInteraction.java

25 lines
487 B
Java
Raw Normal View History

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