Exemple #1
0
 /// <summary>
 /// Spawns a single ally
 /// </summary>
 /// <param name="ally"></param>
 /// <returns></returns>
 public GameObject SpawnAlly(BattleEntityInfo ally)
 {
     return(Spawn(ally, _arena.NextAllySpawn));
 }
Exemple #2
0
 /// <summary>
 /// Spawns a single enemy
 /// </summary>
 /// <param name="enemy"></param>
 /// <returns></returns>
 public GameObject SpawnEnemy(BattleEntityInfo enemy)
 {
     return(Spawn(enemy, _arena.NextEnemySpawn));
 }
Exemple #3
0
 /// <summary>
 /// Spawns the entity <paramref name="entity"/> at <paramref name="spawnInfo"/>
 /// </summary>
 /// <param name="entity"></param>
 /// <param name="spawnInfo"></param>
 /// <returns></returns>
 public GameObject Spawn(BattleEntityInfo entity, SpawnInfo spawnInfo)
 {
     return(Configure(entity.Instantiate(), spawnInfo));
 }