Esempio n. 1
0
        private bool CanStandInPosition(Obj item, Vector3 position)
        {
            var itemCollision = _collisionHandler.GetCollisionInPosition(position);

            if (itemCollision != null)
            {
                return(CanWalkOnBy((Item)itemCollision.Item, item, position));
            }

            return(true);
        }