コード例 #1
0
ファイル: PlayerImpl.cpp プロジェクト: AdamKotynia/bwapi
 //--------------------------------------------- CONSTRUCTOR ------------------------------------------------
 PlayerImpl::PlayerImpl(u8 index)
   : index(index)
 {
   resetResources();
   self->color = index < 12 ? BW::BWDATA::PlayerColors[index] : Colors::Black;
 }
コード例 #2
0
QEGLPlatformCursor::~QEGLPlatformCursor()
{
    resetResources();
    delete m_deviceListener;
}