예제 #1
0
파일: __init__.py 프로젝트: Beliaar/bGrease
	def __init__(self):
		Component.__init__(self, closed=int, verts=Vec2dArray)
		self.fields['closed'].default = lambda: 1
예제 #2
0
파일: __init__.py 프로젝트: Beliaar/bGrease
	def __init__(self):
		Component.__init__(self, velocity=Vec2d, accel=Vec2d, rotation=float)
예제 #3
0
파일: __init__.py 프로젝트: Beliaar/bGrease
	def __init__(self):
		Component.__init__(self, offset=Vec2d, shear=Vec2d, rotation=float, scale=float)
		self.fields['scale'].default = lambda: 1.0
예제 #4
0
파일: __init__.py 프로젝트: Beliaar/bGrease
	def __init__(self):
		Component.__init__(self, position=Vec2d, angle=float)
예제 #5
0
파일: __init__.py 프로젝트: Beliaar/bGrease
	def __init__(self):
		Component.__init__(self, aabb=Rect, radius=float, from_mask=int, into_mask=int)
		self.fields['into_mask'].default = lambda: 0xffffffff
		self.fields['from_mask'].default = lambda: 0xffffffff
예제 #6
0
파일: __init__.py 프로젝트: Beliaar/bGrease
	def __init__(self):
		Component.__init__(self, depth=float, color=color.RGBA)
		self.fields['color'].default = lambda: color.RGBA(1,1,1,1)