resonant-induction/archive/java/dark/lib/interfaces/IControlReceiver.java
2014-01-11 17:44:07 +08:00

21 lines
453 B
Java

package dark.lib.interfaces;
import net.minecraft.entity.player.EntityPlayer;
/**
* Applied to objects that can be control by the player using the keyboard
*
* @author DarkGuardsman
*/
public interface IControlReceiver
{
/**
* Called when the player presses a key
*
* @param player - client player
* @param character - character code
* @param keycode - keyboard code
*/
public boolean keyTyped(EntityPlayer player, int keycode);
}