-Improved: DynamicTexture is now a Interface so STB support can be added. -Added: UTF-8 Support for font rendering. SingleTexture requirement is still a thing. But that may change later. Most of the requirements are already added. -Added: ModelLoader/ModelCache into the Engine that handles old and new formats of the Game Engine but can now be used for other stuff too. -Added: HigherQuality/UTF Supporting font of Roboto-Medium into the engine so it looks a lot better. -Fixed: A bug within AssetPackages breaking paths.
13 lines
332 B
Java
13 lines
332 B
Java
package speiger.src.coreengine.rendering.gui.base;
|
|
|
|
public interface IKeyComponent extends IInputComponent
|
|
{
|
|
public boolean isAcceptingInput();
|
|
|
|
public default boolean isBlockingMovement() {return false;}
|
|
|
|
public boolean onKeyPressed(int key);
|
|
|
|
public default boolean onKeyTyped(char letter, int codepoint) {return false;}
|
|
}
|