Ejemplo n.º 1
0
 public Projectile(Projectile p)
 {
     position = new Vertex(p.position);
     type = p.type;
     lifeTime = p.lifeTime;
     exploded = p.exploded;
     playerProjectile = p.playerProjectile;
     if(p.srcMonster != null)
         srcMonsterId = p.srcMonster.id;
     missileTarget = p.missileTarget;
     stopped = p.stopped;
     exploding = p.exploding;
     explodeTime = p.explodeTime;
     laserDepth = p.laserDepth;
 }
Ejemplo n.º 2
0
 public ProjectileSave(Projectile p)
 {
 }
Ejemplo n.º 3
0
 public Projectile(Projectile p, Room r, Vector3 n, Vector3 u)
 {
     position = p.position.Unfold(r,n,u);
     referenceFrameSpeed = p.referenceFrameSpeed;
     srcProjectile = p;
     type = p.type;
 }