How to get env handle at scoreboard to get access to some function in env

In reply to blair:

For this situation there is the so called forward typedef.
Simply write in front of class scoreboard typedef class env.

typedef class env;
class scoreboard;

The question is where is your scoreboard in your topology? Is it outside of your env? This might not be a good idea.