private void setAnimation(IDirectionalAnimation animation) { if (animation != null) { _faceDirection.CurrentDirectionalAnimation = animation; _faceDirection.FaceDirection(_faceDirection.Direction); } }
public void FaceDirection(Direction direction) { _faceDirectionBehavior.FaceDirection(direction); }