Commit | Line | Data |
---|---|---|
cb700bcc FC |
1 | # # from math import pi |
2 | # # from ..gameobject import GameObject | |
3 | # from ya2.lib.p3d.particle import P3dParticle | |
4 | # Particle = P3dParticle | |
8ee66edd FC |
5 | |
6 | ||
cb700bcc | 7 | # # class Particle(GameObject): |
8ee66edd | 8 | |
cb700bcc FC |
9 | # # def __init__(self, emitter, texture, npart, color=(1, 1, 1, 1), ampl=pi/6, |
10 | # # ray=.5, rate=.0001, gravity=-.85, vel=3.8, part_lifetime=1.0, | |
11 | # # autodestroy=None): | |
12 | # # if not self.eng.lib.version.startswith('1.10'): return | |
13 | # # GameObject.__init__(self) | |
14 | # # LibParticle( | |
15 | # # emitter, texture, npart, color, ampl, ray, rate, gravity, vel, | |
16 | # # part_lifetime, autodestroy) |