Beispiel #1
0
    public void AddCult(Deity deity, Cult cult)
    {
        Debug.Log("cult is added to OM");
        Debug.Log("Status #3: " + cult.GetLeaderName());
        Cults.Add(cult);
        deity.addCult(cult);
        Customers.Remove(cult);

        UIManager.OnCustomerButton();

        for (int i = 0; i < Deities.Count; i++)
        {
            Debug.Log("Number of worshippers for " + Deities[i].GetName() + ": " + Deities[i].GetWorshippingCults().Count);
        }
    }