伪程序员程序员谈谈情,说说爱

妹子撒娇的不同处理方法

2013-07-19  本文已影响0人  hypercross
public void Hyper::妹子撒娇()
{
    this.哄((Yp)QObject::sender());
}
QObject::connect(yp, SIGNAL(撒娇()),hyper,SLOT(妹子撒娇());
yp.撒娇 += delegate{ hyper.哄(yp);};
hyper.get撒娇Manager().register(new 撒娇Handler(){
    @Override
    public void on撒娇(撒娇Event event){
      try{
        if(event.source != yp)throw new 
            Wrong妹子Exception();
        hyper.哄(event.source);
      }catch(Wrong妹子Exception e){
        try{
            hyper.keepCalm();
        }catch(CantKeepCalmException e)
        {
            hyper.call(yp);
        }
      }
    }
});
<script type="text/javascript">
    function 求哄(妹子,汉子)
    {
        var yp = document.getElementById(妹子)
        var hyper = document.getElementById(汉子)
        hyper.哄(yp);
    }
</script>
<a id = "yp" type = "妹子" on撒娇 = "求哄('yp','hyper')"/>
<a id = "hyper" type = "汉子"/>
$('#yp').撒娇(function(){
    $('#hyper').哄($('#yp'));
});
WithHyper = {
    __撒娇 = function()
        hyper.哄(self)
    end,
}

setmetatable(yp, WithHyper)
void (*汉子::on撒娇)(撒娇Source*);

yp->on撒娇 = &(Hyper::哄);

yp->on撒娇(yp);

其实我不懂c++
其实我家妹子撒娇都不需要费心思想怎么哄的

最好的代码,无非是

/me smile
/me hug yp
>/////<
快点赞! 快赞死窝啊快赞死窝啊 噗
上一篇 下一篇

猜你喜欢

热点阅读