传说中规范的爱衡穗穗情代码族梁(2010-11-10 21:37:36)
转载
标签:it
private final static DEPOSIT = 100000
private final static FELLING = 8
public void love(boy, girl) {
Boolean isMarried = false
if(boy.有房() &&boy.有车()) {
doMarry(boy, girl)
isMarried = true
} else if(girl.愿意等()) {
while(!(boy.赚钱 >DEPOSIT &&girl.感情 >FELLING)) {
for(int day=1day <=365day++) {
if( day == 情人节 ) {
if(boy.givegirl(玫瑰)) {
girl.感情++
} else {
girl.感情--
}
}
if(day == girl.生日) {
if( boy.givegirl(玫瑰) )
{
girl.感情++
}
else {
girl.感咐卜情--
boy.拼命赚钱()
}
}
}
if(boy.有房() &&boy.有车()) {
doMarry(boy, girl)
isMarried = true
break
}
年龄++
girl.感情--
}
}
if(!IsMarried) {
girl.goto(another_boy)
}
private void doMarry(boy, girl) {
boy.set(nothing)
girl.嫁给(boy)
}
基本属性(如身高,者宽丛年龄,籍贯)魅力值
金钱值
经验值
健康值
是否有房
是否有车
双亲巧余(比如是否都键在)
朋友列首樱表
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)