private void OnPlayerFinishTravel(DoubleAnimationInfo info) { var player = (Player)info.Object; player.State = PlayerState.FinishedTraveling; }
private void AfterDarkAnimation(DoubleAnimationInfo animation) { animator.PropertyTo(animation.Object, "HighlightOpacity", 1, 0.5); }
protected void animator_PreyRespawn(DoubleAnimationInfo info) { var infoPlayer = (Player)info.Object; lock (respawnQueue) { respawnQueue.Enqueue(infoPlayer); } }