摘要: class Person(object): """人类""" def __init__(self,name): super(Person,self).__init__() self.name = name self.gun = None #用来保存枪的引用 self.hp = 100 def __str__(self): ... 阅读全文
posted @ 2017-12-20 19:50 李刚289237642 阅读(636) 评论(0) 推荐(0) 编辑