2018-09-13 12:03:28 -04:00
|
|
|
package noppes.npcs.scripted.roles;
|
|
|
|
|
|
|
|
|
|
import noppes.npcs.entity.EntityNPCInterface;
|
2022-06-12 01:26:23 -05:00
|
|
|
import noppes.npcs.roles.RoleInterface;
|
2018-09-13 12:03:28 -04:00
|
|
|
import noppes.npcs.scripted.constants.RoleType;
|
2022-06-12 01:26:23 -05:00
|
|
|
import noppes.npcs.scripted.interfaces.roles.IRole;
|
2018-09-13 12:03:28 -04:00
|
|
|
|
2022-06-12 01:26:23 -05:00
|
|
|
public class ScriptRoleInterface implements IRole {
|
|
|
|
|
public final EntityNPCInterface npc;
|
|
|
|
|
public final RoleInterface role;
|
2018-09-13 12:03:28 -04:00
|
|
|
|
|
|
|
|
public ScriptRoleInterface(EntityNPCInterface npc){
|
|
|
|
|
this.npc = npc;
|
2022-06-12 01:26:23 -05:00
|
|
|
this.role = npc.roleInterface;
|
2018-09-13 12:03:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @see noppes.npcs.scripted.constants.RoleType
|
|
|
|
|
* @return The RoleType of this role
|
|
|
|
|
*/
|
|
|
|
|
public int getType(){
|
|
|
|
|
return RoleType.UNKNOWN;
|
|
|
|
|
}
|
|
|
|
|
}
|