refactor: removed deprecated checksum

This commit is contained in:
2021-05-18 18:14:03 +02:00
parent a6e90ef0f4
commit 1348e342d6
2 changed files with 0 additions and 41 deletions

View File

@ -28,23 +28,6 @@ public class GameInstance {
manager = new GameStateManager(_state);
}
/**
* Checks a checksum with the current one.
* @param input The checksum to compare to
* @return Whether or not the checksum matches
*/
public boolean checkChecksum(long input) {
return ChecksumCalculator.checkChecksum(_state, input);
}
/**
* Calculates the current checksum of the game state.
* @return The calculated checksum
*/
public long calculateChecksum() {
return ChecksumCalculator.calculateChecksum(_state);
}
/**
* Checks an array of {@link Request}s for validity and automatically applies them if valid.
* @param requests The requests to check