예제 #1
0
            private ProjectileData TryGetNextProj()
            {
                if( this.queue.Count <= 0 )
                {
                    return null;
                }

                ProjectileData temp = this.queue[0];
                this.queue.RemoveAt( 0 );

                if( temp != null )
                {
                    temp.AssignTimer();
                    temp.AssignRadius( this.fireRadius );
                    this.CreateEffect( temp );
                }


                return temp;
            }