// determines whether the player is within the grass or not public void blockAppear() { // if the player is within the bounds of the grass if (wildGrass.getAppearanceData().contains(player.getAppearanceData())) { // does a wildBlockamon appear? wildGrass.wildBlockamonAppearance( player.getActiveBlockamon(), player.getX() + player.getWidth(), player.getY()); } }