public ControllerSelector(PlayerIndex index, CharacterFrame[] frames, ControllerSelector[] selecters, int defaultFrame)
        {
            this.PlayerIndex = index;
            this.frames = frames;
            this.selecters = selecters;
            this.texture = Moxy.ContentManager.Load<Texture2D> ("Interface//controller");
            this.origin = new Vector2 (texture.Width / 2, texture.Height / 2);
            this.SelectedIndex = defaultFrame;

            CalculateLocation ();
        }
        public override void Load()
        {
            checkTexture = Moxy.ContentManager.Load<Texture2D> ("Interface//checkmark");
            panelTexture = Moxy.ContentManager.Load<Texture2D> ("Interface//cspanel");
            lockTexture = Moxy.ContentManager.Load<Texture2D> ("Interface//lock");

            acceptSound = Moxy.ContentManager.Load<SoundEffect> ("Sounds//accept");
            declineSound = Moxy.ContentManager.Load<SoundEffect> ("Sounds//decline");
            moveSound = Moxy.ContentManager.Load<SoundEffect> ("Sounds//move");

            frames = new CharacterFrame[4];
            selecters = new ControllerSelector[4];

            for (int i = 0; i < 4; i++)
                frames[i] = new CharacterFrame
                {
                    FrameTexture = Moxy.ContentManager.Load<Texture2D> ("Interface//cf" + i),
                    CheckTexture = checkTexture,
                    LockTexture = lockTexture,
                    Location = new Vector2 (i * 200, 0)
                };

            for (int i = 0; i < 4; i++)
                selecters[i] = new ControllerSelector ((PlayerIndex) i, frames, selecters, i)
                {
                    AcceptSound = acceptSound,
                    DeclineSound = declineSound,
                    MoveSound = moveSound,
                };
        }