vid.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:CritterEvolution 作者: apockill 项目源码 文件源码
def hit(self,x,y,t,s):
        tiles = self.tiles
        tw,th = tiles[0].image.get_width(),tiles[0].image.get_height()
        t.tx = x
        t.ty = y
        t.rect = Rect(x*tw,y*th,tw,th)
        t._rect = t.rect
        if hasattr(t,'hit'):
            t.hit(self,t,s)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号