Example #1
0
        public Pallet_Handler()
        {
            pallets = new Pallet[PALLET_MAX];

            //Black and White
            pallets[0] = new Pallet(
                Color.White,
                Color.Black,
                Color.White,
                Color.Black,
                Color.White,
                Color.Black,
                Color.White,
                Color.Black
                );

            //Green Shades
            pallets[1] = new Pallet(
                Color.Orange,
                Color.Maroon,
                Color.Purple,
                Color.Green,
                Color.Yellow,
                Color.Blue,
                Color.Red,
                Color.Pink
                );

            //Double Rainbow.
            pallets[2] = new Pallet(
                Color.Cyan,
                Color.Cyan,
                Color.DarkCyan,
                Color.DarkCyan,
                Color.Crimson,
                Color.Crimson,
                Color.Red,
                Color.Red
                );
        }
Example #2
0
 public void change_Pallet(int pallet_Val)
 {
     current_Pallet = pallet_List[pallet_Val];
 }