void _OnSnakeAteApple(SnakeAteAppleEvent e) { if (!BoardData.RandomApple()) { num_inactive++; } }
void _OnSnakeAteAppleEvent(SnakeAteAppleEvent e) { ++gold; UpdateShop(); }