private String selectItemToSpawn(SpawnersContext c) { if (count == c.treeVariants.Length) { count = 0; } return(c.treeVariants[count++].name); }
private String selectItemToSpawn(SpawnersContext c) { /* * Random.next * c.itemRaritiCurve * todo map curve to possible items array */ return("Item"); }
public IAIContext GetContext(Guid aiId) { SpawnersContext c = new SpawnersContext { itemPlaces = new List <Vector3>(), componentAI = componentAI, itemRarityCurve = itemRarityCurve, enemyRarityCurve = enemyRarityCurve, itemsSorted = itemsSorted, enemiesSorted = enemiesSorted, terrainData = tData, treeVariants = treeVariants }; return(c); }
private String selectEnemyToSpawn(SpawnersContext c) { return("Enemy"); }