public ColourMap(Colour[] colours, String name) {
        InitMap(); //First initialises array to null.
        
        if (colours.length <= m_mapSize) {
            /* Then if array parameter is <= max number of maps */
            for (int i=0; i<colours.length; i++) {
                SetColour(i, colours[i]); //transfer colours to object array.
            }
        } else {
            /* If array parameter is > max number of maps */
            for (int i=0; i<m_mapSize; i++) {
                /* transfer until max number is reached and ignore excess. */
                SetColour(i, colours[i]);
            }
        }
        /* Finally, set the map name. */
        SetMapName(name);
    }