@Override
    public void prepare(FeatureProvider provider)
    {
        super.prepare(provider);

        transformable = provider.getFeature(Transformable.class);
        transformable.addListener(this);

        if (provider instanceof CollidableListener)
        {
            addListener((CollidableListener) provider);
        }
    }
@ Override public void prepare ( FeatureProvider provider ) { super . prepare ( provider ) ; transformable = provider . getFeature ( Transformable . class ) ; transformable . addListener ( this ) ; if ( provider instanceof CollidableListener ) { addListener ( ( CollidableListener ) provider ) ; } }
/*
Collidable