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; }
public ProjectileSave(Projectile p) { }
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; }