Removes the flip horizontal/vertical functions.
@@ -2,7 +2,6 @@ package com.valkryst.VTerminal;
import com.valkryst.VTerminal.misc.ImageCache;
import com.valkryst.VTerminal.shader.Shader;
-import com.valkryst.VTerminal.shader.misc.FlipShader;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
@@ -257,44 +256,6 @@ public class Tile {
}
}
- /**
- * Sets whether or not the tile is flipped horizontally.
- *
- * @param isFlippedHorizontally
- * Whether or not the tile is flipped horizontally.
- */
- public void setFlippedHorizontally(final boolean isFlippedHorizontally) {
- for (final Shader shader : shaders) {
- if (shader instanceof FlipShader) {
- ((FlipShader) shader).setFlippedHorizontally(isFlippedHorizontally);
- return;
- }
- }
-
- final FlipShader flipShader = new FlipShader();
- flipShader.setFlippedHorizontally(isFlippedHorizontally);
- shaders.add(flipShader);
- }
-
- /**
- * Sets whether or not the tile is flipped vertically.
- *
- * @param isFlippedVertically
- * Whether or not the tile is flipped vertically.
- */
- public void setFlippedVertically(final boolean isFlippedVertically) {
- for (final Shader shader : shaders) {
- if (shader instanceof FlipShader) {
- ((FlipShader) shader).setFlippedVertically(isFlippedVertically);
- return;
- }
- }
-
- final FlipShader flipShader = new FlipShader();
- flipShader.setFlippedVertically(isFlippedVertically);
- shaders.add(flipShader);
- }
-
/**
* Sets the new underline thickness.
*
