Example #1
0
 public Projectile Instantiate(ArchProjectile arch)
 {
     return GetPool(arch.index).Instantiate();
 }
Example #2
0
        public Projectile(ArchProjectile arch)
        {
            this.arch = arch;

            CreateProjectile();
        }
Example #3
0
 public Pool(ArchProjectile arch)
 {
     this.projectileArch = arch;
     this.pooledProjectiles = new Stack<Projectile>();
 }
Example #4
0
 public Projectile Instantiate(ArchProjectile arch)
 {
     return(GetPool(arch.index).Instantiate());
 }
Example #5
0
 public Pool(ArchProjectile arch)
 {
     this.projectileArch    = arch;
     this.pooledProjectiles = new Stack <Projectile>();
 }
Example #6
0
        public Projectile(ArchProjectile arch)
        {
            this.arch = arch;

            CreateProjectile();
        }