예제 #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;
 }
예제 #2
0
파일: WorldSave.cs 프로젝트: kevincos/Vexed
 public ProjectileSave(Projectile p)
 {
 }
예제 #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;
 }