예제 #1
0
    public Bod(string n, string hn, PersonalityType pt, BodClass bc)
    {
        m_name            = n;
        m_houseName       = hn;
        m_personalityType = pt;
        m_bodClass        = bc;

        SetInjury(0);
    }
예제 #2
0
    public Bod CreateNewBod(string name, PersonalityType pt = PersonalityType.NONE, BodClass bc = BodClass.NONE)
    {
        if (pt == PersonalityType.NONE)
        {
            pt = GetRandomPersonalityType();
        }

        Bod bod = new Bod(name, "", pt, bc);

        bod.SetStrength(1);
        bod.SetAgility(1);
        bod.SetMind(1);
        return(bod);
    }