// // responds to Coin event // public override void Coin(Turnstile name) { name.Thankyou(); // change the state name.SetState(name.GetItsUnlockedState()); }