示例#1
0
    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)
示例#2
0
def __PhysicsUpdate():
    Physics.__PhysicsUpdate()