private bool CanStandInPosition(Obj item, Vector3 position) { var itemCollision = _collisionHandler.GetCollisionInPosition(position); if (itemCollision != null) { return(CanWalkOnBy((Item)itemCollision.Item, item, position)); } return(true); }
private bool CanStandInPosition(Obj item, Vector3 position) { var itemCollision = _collisionHandler.GetCollisionInPosition(position); if (itemCollision != null) { return(CanWalkOnBy((Item)itemCollision.Item, item, position)); } return(true); }