Пример #1
0
    public void setList(int ID, List <string> names)
    {
        switch (ID)
        {
        case 1:
        {
            Victim1.setupList(names);
        }
        break;

        case 2:
        {
            Victim2.setupList(names);
        }
        break;

        case 3:
        {
            Victim3.setupList(names);
        }
        break;
        }
    }
Пример #2
0
    public void updateVictims(int ID, string BoneName)
    {
        switch (ID)
        {
        case 1:
        {
            Victim1.UpdateList(BoneName);
        }
        break;

        case 2:
        {
            Victim2.UpdateList(BoneName);
        }
        break;

        case 3:
        {
            Victim3.UpdateList(BoneName);
        }
        break;
        }
    }