public class nvwaZaoren
{
public static void main(String[] args)
{
shen nvwa=new shen("女娲","女","人身蛇尾");
nvwa.miaoshushen(); //对女娲的描述
System.out.print("一天,");
nvwa.say("一个人好孤单啊,做几个泥人来陪我!"); //女娲说话
System.out.println("于是,");
niren zhangfei=nvwa.madeNiren("张飞","男"); //女娲制作泥人张飞
ren zf=nvwa.chuiqi(zhangfei); //女娲对张飞吹气
zf.say("怎么只有我一个人啊,很无聊?");
nvwa.say(zf,"我给你作一个同伴");
niren diaochan=nvwa.madeNiren("貂禅","女"); //女娲制作泥人貂禅
ren dc=nvwa.chuiqi(diaochan); //女娲对貂禅吹气
//以下三行是 张飞跟貂禅的对话
zf.say(dc,"试探","你好啊,你叫什么名字?");
dc.say(zf,"爽快","我的名字叫"+dc.name+",你呢?");
zf.say(dc,"含情脉脉","哦,你好"+dc.name+"我叫"+zf.name);
System.out.println("…………");
System.out.println(zf.name+"与"+dc.name+"愉快地交谈着");
System.out.println("…………");
System.out.println("时间漫漫过去了,"+zf.name+"与"+ dc.name+"的感情逐渐加深\n 终于有一天");
zf.jiehun(dc); //张飞跟貂禅结婚
dc.creatbaby("男","无忌"); //貂禅生小孩 s
}
}
|