예제 #1
0
 public override Component deepCopy(GameEntity entity)
 {
     ParticleController c = new ParticleController(entity, life_);
     c.timed = timed;
     c.fadeSpeed = fadeSpeed;
     c.opacity = opacity;
     return c;
 }
예제 #2
0
        public override Component deepCopy(GameEntity entity)
        {
            ParticleController c = new ParticleController(entity, life_);

            c.timed     = timed;
            c.fadeSpeed = fadeSpeed;
            c.opacity   = opacity;
            return(c);
        }