コード例 #1
0
        public override void DoCollideWith(ISceneObject other, float tpf)
        {
            if (HasFullCapacity() && !other.HasControlOfType <FollowingControl>())
            {
                return;
            }

            if (!(other is ICatchable))
            {
                return;
            }

            TryToCatchCollidedObject(other as ICatchable);
        }