Add low memory mode plugin

This commit is contained in:
Tomas Slusny
2018-01-24 12:46:14 -05:00
committed by Adam
parent b95a85cddf
commit 68ba5f40b6
5 changed files with 174 additions and 2 deletions

View File

@@ -239,4 +239,11 @@ public interface Client extends GameEngine
int getMouseIdleTicks();
int getKeyboardIdleTicks();
}
/**
* Changes how game behaves based on memory mode. Low memory mode skips drawing of all floors and renders ground
* textures in low quality.
* @param lowMemory if we are running in low memory mode or not
*/
void changeMemoryMode(boolean lowMemory);
}