コード例 #1
0
 def __init__(self, x=0.0, y=0.0, z=0.0):
     Vector2d.__init__(self)
     self.coords = (x, y, z)
コード例 #2
0
 def __init__(self, *args, **kwargs):
     Vector2d.__init__(self, *args, **kwargs)
     PointBase.__init__(self)
コード例 #3
0
 def __init__(self, x, y, screen):
     Vector2d.__init__(self, x, y)
     self.screen = screen
     self.screenHalfWidth = screen.get_width() / 2
     self.screenHalfHeight = screen.get_height() / 2
     self.entity = None