(TextureOptions one, TextureOptions two)
| 24 | } |
| 25 | |
| 26 | public static boolean isUpToDate(TextureOptions one, TextureOptions two) { |
| 27 | if (one == null) { |
| 28 | return false; |
| 29 | } |
| 30 | if (two == null) { |
| 31 | return true; |
| 32 | } |
| 33 | return one.getTextureVersion() >= two.getTextureVersion(); |
| 34 | } |
| 35 | |
| 36 | public void setScale(int scale) { |
| 37 | this.scale = scale; |
no test coverage detected