Beispiel #1
0
bool DisplayManager::init(Bone *_bone)
{
    bool ret = false;
    
    do {
        
        m_pBone = _bone;
        
        initDisplayList(_bone->getBoneData());
        
        ret = true;
    } while (0);
    
    return ret;
}
bool CCDisplayManager::init(CCBone *bone)
{
    bool ret = false;

    do
    {
        m_pBone = bone;

        initDisplayList(bone->getBoneData());

        ret = true;
    }
    while (0);

    return ret;
}