public override void OnCollision(IEntity other, Point direction) { base.OnCollision(other, direction); if (other is BlockEntity) { walkingState.Enter(); } }