def __init__(self, width, height, transform, collider_id, collider_tag='box'): self.width = width self.height = height self.transform = transform self.collider_id = collider_id self.collider_tag = collider_tag self.method = None Physics.addBox(self)
def __PhysicsUpdate(): Physics.__PhysicsUpdate()