예제 #1
0
        public SpriteParticle(ParticleEngine engine, Texture2D sprite, Vector2 position, Color color)
            : base(engine, position)
        {
            this.sprite = sprite;
            this.color = color;

            origin = Resources.GetSpriteCenter(sprite);
        }
예제 #2
0
        public SpriteParticle(ParticleEngine engine, Texture2D sprite, Vector2 position, Color color)
            : base(engine, position)
        {
            this.sprite = sprite;
            this.color  = color;

            origin = Resources.GetSpriteCenter(sprite);
        }
예제 #3
0
 public ConstantForceMethod(ParticleEngine engine, Vector2 force)
     : base(engine)
 {
     this.force = force;
 }
예제 #4
0
 public ScaleMethod(ParticleEngine engine, float startScale, float endScale)
     : base(engine)
 {
     this.startScale = startScale;
     this.endScale   = endScale;
 }
예제 #5
0
 public FadeInOutMethod(ParticleEngine engine) : base(engine)
 {
 }
예제 #6
0
 public SpriteParticle(ParticleEngine engine, Texture2D sprite, Vector2 position)
     : this(engine, sprite, position, Color.White)
 {
 }
예제 #7
0
파일: Particle.cs 프로젝트: melari/monopole
 public Particle(ParticleEngine engine, Vector2 position, float lifeLength)
 {
     this.engine = engine;
     this.position = position;
 }
예제 #8
0
 public EmitterParticle(ParticleEngine engine, Vector2 position, ParticleEmitter pe)
     : base(engine, position)
 {
     this.pe = pe;
 }
예제 #9
0
 public ParticleMethod(ParticleEngine engine)
 {
     this.engine = engine;
 }
예제 #10
0
 public ParticleMethod(ParticleEngine engine)
 {
     this.engine = engine;
 }
예제 #11
0
 public FadeInOutMethod(ParticleEngine engine)
     : base(engine)
 {
 }
예제 #12
0
 public Particle(ParticleEngine engine, Vector2 position, float lifeLength)
 {
     this.engine   = engine;
     this.position = position;
 }
예제 #13
0
 public Particle(ParticleEngine engine, Vector2 position)
     : this(engine, position, -1)
 {
 }
예제 #14
0
 public SpriteParticle(ParticleEngine engine, Texture2D sprite, Vector2 position)
     : this(engine, sprite, position, Color.White)
 {
 }
예제 #15
0
 public ScaleMethod(ParticleEngine engine, float startScale, float endScale)
     : base(engine)
 {
     this.startScale = startScale;
     this.endScale = endScale;
 }
예제 #16
0
 public PointForceMethod(ParticleEngine engine, Vector2 point, float strength)
     : base(engine)
 {
     this.point    = point;
     this.strength = strength;
 }
예제 #17
0
 public PointForceMethod(ParticleEngine engine, Vector2 point, float strength)
     : base(engine)
 {
     this.point = point;
     this.strength = strength;
 }
예제 #18
0
 public EmitterParticle(ParticleEngine engine, Vector2 position, ParticleEmitter pe)
     : base(engine, position)
 {
     this.pe = pe;
 }
예제 #19
0
 public ConstantForceMethod(ParticleEngine engine, Vector2 force)
     : base(engine)
 {
     this.force = force;
 }
예제 #20
0
파일: Particle.cs 프로젝트: melari/monopole
 public Particle(ParticleEngine engine, Vector2 position)
     : this(engine, position, -1)
 {
 }