Changes between Initial Version and Version 1 of Ticket #5041, comment 1


Ignore:
Timestamp:
Feb 19, 2018, 7:10:24 PM (6 years ago)
Author:
elexis

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5041, comment 1

    initial v1  
    1 Initially I suspected it were the same as #4338, but reading the code it must be the `maxFailCount = 20` argument of `SimpleObject.prototype.place` being fixed.
     1~~Initially I suspected it were the same as #4338, but reading the code it must be the `maxFailCount = 20` argument of `SimpleObject.prototype.place` being fixed.~~
    22
    3 Every `new SimpleObject` call I saw has `maxCount < maxFailCount = 20`. So practically it's `Infinity`.
    4 
    5 This means that placing 0 entities can be considered successful!
    6 
    7 Testing it confirms that.
    8 
    9 So the `SimpleGroup` ensures that all `SimpleObjects` are placed, but `SimpleObject` considers arbitrary numbers including 0 a successful place.
    10 So this is similar to #4695.
     3~~ Every `new SimpleObject` call I saw has `maxCount < maxFailCount = 20`. So practically it's `Infinity`.~~
     4~~ This means that placing 0 entities can be considered successful! Testing it confirms that.~~ (0 is only considered a valid placement if `minCount` is 0.)