07/02/28 22:13:32
private static void I(){
GIRL aya, hitomi, kana; /* 候補 */
int nGetCounter = 0; /* 念のため */
if( aya. Date() == true ){ /* 無いと思うけど一応引数確認 */
if( aya. Marriage() == false ) aya.GoodBy();
}
if( hitomi. Date() == true ){ /* 無いと思うけど一応引数確認 */
if( hitomi. Marriage() == false ) hitomi.GoodBy();
}
if( kana. Date() == true ){ /* 無いと思うけど一応引数確認 */
if( kana. Marriage() == false ) kana.GoodBy();
}
if( aya.IsMarriaged() == true ) nGetCounter = nGetCounter + 1;
if( hitomi.IsMarriaged() == true ) nGetCounter = nGetCounter + 1;
if( kana.IsMarriaged() == true ) nGetCounter = nGetCounter + 1;
if( nGetCounter == 0 ) I(); /* ありえないので、リトライ */
else if( 1 < nGetCounter ){ /* 重婚ルールなし */
while( aya.IsMarriaged() && ( aya. Family() <= 2 ) ){ /* 一人でおk */
aya. Sex();
}
while( hitomi.IsMarriaged() && ( hitomi. Family() <= 2 ) ){
hitomi. Sex();
}
while( hitomi.IsMarriaged() && ( kana. Family() <= 2 ) ){
kana. Sex();
}
}
while( super.RemainLife() );
throw new EndOfLifeException ("人生は終了しました。リセットボタンを押して電源をお切りください。");
}