Ejemplo n.º 1
0
    /// <summary>
    /// Creates a new BattleEnemy and gives it its data
    /// </summary>
    /// <param name="name">Name as EnemyName</param>
    /// <returns></returns>
    public static BattleEnemy MakeNewBattleEnemy(EnemyName name)
    {
        // Create data
        BattleEnemy orig = Data[name];
        // Create enemy using data
        BattleEnemy newEnemy = new BattleEnemy(name, orig.Stats);

        newEnemy.HealAll();
        return(newEnemy);
    }