어제에 이어 클래스의 pass에서부터 진행을 합니다.1. pass 패스는 아무것도 하지 않고 그냥 넘어간다는 의미입니다# 일반 유닛class unit: def __init__(self,name,hp,speed): self.name=name self.hp=hp self.speed=speed def move(self,location): print("[지상 유닛 이동]") print(" {} : {} 방향으로 이동합니다. [속도{}"\ .format(self.name,location,self.speed))# # 공격유닛class attackunit(unit): def __init__(self,name,hp,speed,damage): unit.
__init__(self,name,hp,speed) self.damage =damage def attack(self,location): print("{} : {} 방향으로 적군을 공격합니..........