public Personality(MindType mind, EnergyType energy, NatureType nature, TacticType tactics, IdentityType identity) { Mind = mind; Energy = energy; Nature = nature; Tactics = tactics; Identity = identity; }
private static int GetBitwiseFlag(MindType mind, EnergyType energy, NatureType nature, TacticType tactics, IdentityType identity) { // 0x00000000 int bits = 0b00000; bits |= (int)mind | (int)nature | (int)energy | (int)tactics | (int)identity; return(bits); }