示例#1
0
文件: chess.cpp 项目: bmh10/chess3d
void Mouse(int button, int mouseState, int x, int y)
{
  switch (state)
  {
    case MENU:
      menuManager.MousePress(button, mouseState, x, WINDOW_HEIGHT-y);
    break;
    case GAME:
      game->MousePress(button, mouseState, x, WINDOW_HEIGHT-y);
    break;
  }
}