public AtlasBitmapColor()
        {
            CCSize s = CCDirector.sharedDirector().getWinSize();

            CCLabelBMFont label = null;

            label       = CCLabelBMFont.labelWithString("Blue", "fonts/bitmapFontTest5.fnt");
            label.Color = ccBLUE;
            addChild(label);
            label.position    = new CCPoint(s.width / 2, s.height / 4);
            label.anchorPoint = new CCPoint(0.5f, 0.5f);

            label = CCLabelBMFont.labelWithString("Red", "fonts/bitmapFontTest5.fnt");
            addChild(label);
            label.position    = new CCPoint(s.width / 2, 2 * s.height / 4);
            label.anchorPoint = new CCPoint(0.5f, 0.5f);
            label.Color       = ccRED;

            label = CCLabelBMFont.labelWithString("G", "fonts/bitmapFontTest5.fnt");
            addChild(label);
            label.position    = new CCPoint(s.width / 2, 3 * s.height / 4);
            label.anchorPoint = new CCPoint(0.5f, 0.5f);
            label.Color       = ccGREEN;
            label.setString("Green");
        }
        public void updateStrings(float dt)
        {
            CCLabelBMFont label1 = (CCLabelBMFont)getChildByTag((int)TagSprite.kTagBitmapAtlas1);
            CCLabelTTF    label2 = (CCLabelTTF)getChildByTag((int)TagSprite.kTagBitmapAtlas2);
            CCLabelAtlas  label3 = (CCLabelAtlas)getChildByTag((int)TagSprite.kTagBitmapAtlas3);

            if (!setEmpty)
            {
                label1.setString("not empty");
                label2.setString("not empty");
                label3.setString("hi");

                setEmpty = true;
            }
            else
            {
                label1.setString("");
                label2.setString("");
                label3.setString("");

                setEmpty = false;
            }
        }
        public virtual void step(float dt)
        {
            m_time += dt;
            //char string[10] = {0};
            string Stepstring;

            //sprintf(string, "%04.1f", m_time);
            Stepstring = string.Format("{0,4:1f}", m_time);
            //  std::string string;
            //  string.format("%04.1f", m_time);

            CCLabelBMFont label1 = (CCLabelBMFont)getChildByTag((int)TagSprite.kTagBitmapAtlas2);

            label1.setString(Stepstring);
        }