Open GoogleCodeExporter opened 9 years ago
I don't think the Bag is for general use. It appears that the index is heavily
tied to Entity#getId() and ComponentType#getIndex().
Or in other words, if you do want to use Bag you will have to keep track of
your own indices.
Original comment by seraphim...@gmail.com
on 12 Nov 2012 at 9:06
If you really want to discourage the use of Bag as anything other than a
read-only container you could move it from com.artemis.utils to com.artemis and
make #set a package private method (either 'protected' or the default modifier).
Original comment by seraphim...@gmail.com
on 12 Nov 2012 at 9:13
Original issue reported on code.google.com by
pirh.bad...@gmail.com
on 8 Nov 2012 at 9:43