ScoreGiver

ScoreGiver
The score giver detects if an arrow has hit this object and adds score according to the "scoreToGive" variable.

It utilizes the interface IHittable which has a hit function that always gets called when an arrow either sticks or reflects of the object.

If "detectArrowHit" is false, the score function will not run when an arrow hits.

If "canGiveScore" is false, score will never be given by this ScoreGiver.

The "GiveScore" function is networked via the corresponding MinigameStatTracker.