public void tick()
    {
        super.tick();
        if(Keyboard.isKeyDown(Keyboard.KEY_T) && !tPressed)
        {
            tPressed = true;
            if(onDeath(DamageType.generic, 100))
            {
                die();
            }
        }
        if(!Keyboard.isKeyDown(Keyboard.KEY_T) && tPressed)
        {
            tPressed = false;
        }
        
    }