Implementation of tooltip in main game