Exemplo n.º 1
0
        public DancerSong(DancerEvents dancerEvents, string title, string description, int ticksPerSecond, string pathToMusic, string pathToImage, ArgbColor[] colorSettings)
        {
            this.dancerEvents     = dancerEvents;
            this.title            = title;
            this.additionaldesc   = description;
            this.ticksPerSecond   = ticksPerSecond;
            this.musicFilePath    = pathToMusic;
            this.imagePreviewPath = pathToImage;

            if (colorSettings.Length == 7)
            {
                upArrowColor    = colorSettings[0];
                rightArrowColor = colorSettings[1];
                leftArrowColor  = colorSettings[2];
                downArrowColor  = colorSettings[3];
                backgroundColor = colorSettings[4];
                uiColor         = colorSettings[5];
                uiTextColor     = colorSettings[6];
            }
        }
Exemplo n.º 2
0
 public DancerSong()
 {
     dancerEvents = new DancerEvents();
 }