示例#1
0
//----------------------------------------------------------------------------
void WrigglingSnake::CreateSnake ()
{
    mSnakeRoot = new0 Node();
    mTrnNode->AttachChild(mSnakeRoot);
    CreateSnakeBody();
    CreateSnakeHead();
}
示例#2
0
//----------------------------------------------------------------------------
void WrigglingSnake::CreateSnake ()
{
    m_spkSnakeRoot = new Node(2);
    m_spkTrnNode->AttachChild(m_spkSnakeRoot);
    CreateSnakeBody();
    CreateSnakeHead();
}