Esempio n. 1
0
 public TunnelConfig(TunnelDirection dir, TunnelRole role, TunnelPool pool, TunnelInfo hops)
 {
     Direction = dir;
     Role      = role;
     Pool      = pool;
     Info      = hops;
 }
Esempio n. 2
0
        public void SetActive(Song song, TunnelDirection direction)
        {
            m_Velocity        = new Vector3(0, 0, 20.0f / (song.LeadIn + m_Beat * 60 / song.BPM - (float)MediaPlayer.PlayPosition.TotalSeconds));
            m_TunnelDirection = direction;

            // Set self enabled
            Enabled = true;
            // Set each note enabled
            foreach (Note n in m_ContainedNotes)
            {
                n.Enabled = true;
            }
        }
Esempio n. 3
0
 public Tunnel(Primitives[] primitives, TunnelDirection direction)
 {
     this.primitives = primitives;
     this.direction  = direction;
 }