Add fight cave plugin

This commit is contained in:
Devin French
2017-10-09 18:18:00 -07:00
committed by Adam
parent b05fc2e83e
commit 348d33802f
12 changed files with 395 additions and 16 deletions

View File

@@ -222,4 +222,22 @@ public abstract class RSClientMixin implements RSClient
{
setChatCycle(getCycleCntr());
}
@Inject
@Override
public Widget getViewportWidget()
{
if (isResized())
{
if (getSetting(Varbits.SIDE_PANELS) == 1)
{
return getWidget(WidgetInfo.RESIZABLE_VIEWPORT_BOTTOM_LINE);
}
else
{
return getWidget(WidgetInfo.RESIZABLE_VIEWPORT_OLD_SCHOOL_BOX);
}
}
return getWidget(WidgetInfo.FIXED_VIEWPORT);
}
}