mixins: Add setGameState(Gamestate) (#1403)

This commit is contained in:
Owain van Brakel
2019-08-20 03:15:22 +02:00
committed by Kyle
parent a82d2bc7e8
commit 2d80de239d

View File

@@ -470,6 +470,13 @@ public abstract class RSClientMixin implements RSClient
return GameState.of(getRSGameState()); return GameState.of(getRSGameState());
} }
@Inject
@Override
public void setGameState(GameState gameState)
{
client.setGameState(gameState.getState());
}
@Inject @Inject
@Override @Override
public Point getMouseCanvasPosition() public Point getMouseCanvasPosition()