| Conditions | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from synergine.synergy.collection.Configuration import Configuration |
||
| 16 | def get_start_objects(self, collection, context): |
||
| 17 | context.metas.value.set(POSITION, collection.get_id(), self._start_position) |
||
| 18 | |||
| 19 | ants = [] |
||
| 20 | for i in range(self._ant_count): |
||
| 21 | ant = self._ant_class(collection, context) |
||
| 22 | ant.set_position(self._start_position) |
||
| 23 | ants.append(ant) |
||
| 24 | |||
| 25 | return ants |