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