Onsens  1.0
This is C++ game about bitwise logic.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Game Class Reference

#include <Game.h>

Public Member Functions

 Game ()
 
 ~Game ()
 
void pollEvents ()
 
bool running ()
 
void start ()
 
void menu (sf::Window &newWindow)
 
void modes (sf::Window &newWindow)
 
void rulestab (sf::Window &newWindow)
 
void optionsMenu (sf::Window &newWindow)
 
void firstGamemode (sf::Window &newWindow)
 
void secondGamemode (sf::Window &newWindow)
 
void thirdGamemode (sf::Window &newWindow)
 
void fourthGamemode (sf::Window &newWindow)
 
void menuButtons ()
 
void modesButtons ()
 
void winScreen (sf::Window &newWindow)
 
void customCursor ()
 
void setTheIcon ()
 
void setReady ()
 
void setPlay ()
 
void setTimer ()
 
void setBaseCards ()
 
void setDeck ()
 
void sortDeck ()
 
void setNotDeck ()
 
void sortNotDeck ()
 
void cardsInHand ()
 
void tableOfTruth ()
 
void setPlacingCards ()
 
void placingCardsPos ()
 
void placingNotCardsPos ()
 
void notCardLogic (int j)
 
void setCardImages (sf::Vector2i cursorpos)
 
void setCardImages2 (sf::Vector2i cursorpos)
 
void setNotCardImages (sf::Vector2i cursorpos)
 
void setNotCardImages2 (sf::Vector2i cursorpos)
 
bool checkPlacedCards (int jj)
 
bool getMousePos (float x, float y, int a, sf::Window &newWindow)
 
void update (sf::Window &newWindow)
 
void render ()
 
void setBackground ()
 

Detailed Description

Definition at line 19 of file Game.h.

Constructor & Destructor Documentation

◆ Game()

Game::Game ( )

Definition at line 21928 of file Game.cpp.

+ Here is the call graph for this function:

◆ ~Game()

Game::~Game ( )

Definition at line 21937 of file Game.cpp.

Member Function Documentation

◆ cardsInHand()

void Game::cardsInHand ( )

Definition at line 16562 of file Game.cpp.

+ Here is the caller graph for this function:

◆ checkPlacedCards()

bool Game::checkPlacedCards ( int  jj)

Definition at line 15688 of file Game.cpp.

+ Here is the caller graph for this function:

◆ customCursor()

void Game::customCursor ( )

Definition at line 16511 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ firstGamemode()

void Game::firstGamemode ( sf::Window newWindow)

Definition at line 17013 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fourthGamemode()

void Game::fourthGamemode ( sf::Window newWindow)

Definition at line 18724 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMousePos()

bool Game::getMousePos ( float  x,
float  y,
int  a,
sf::Window newWindow 
)

Definition at line 474 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ menu()

void Game::menu ( sf::Window newWindow)

Definition at line 601 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ menuButtons()

void Game::menuButtons ( )

Definition at line 585 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ modes()

void Game::modes ( sf::Window newWindow)

Definition at line 689 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ modesButtons()

void Game::modesButtons ( )

Definition at line 673 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notCardLogic()

void Game::notCardLogic ( int  j)

Definition at line 4430 of file Game.cpp.

+ Here is the caller graph for this function:

◆ optionsMenu()

void Game::optionsMenu ( sf::Window newWindow)

Definition at line 778 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ placingCardsPos()

void Game::placingCardsPos ( )

Definition at line 16671 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ placingNotCardsPos()

void Game::placingNotCardsPos ( )

Definition at line 16941 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pollEvents()

void Game::pollEvents ( )

Definition at line 15 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ render()

void Game::render ( )

Definition at line 442 of file Game.cpp.

+ Here is the call graph for this function:

◆ rulestab()

void Game::rulestab ( sf::Window newWindow)

Definition at line 867 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ running()

bool Game::running ( )

Definition at line 10 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ secondGamemode()

void Game::secondGamemode ( sf::Window newWindow)

Definition at line 17445 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBackground()

void Game::setBackground ( )

Definition at line 434 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBaseCards()

void Game::setBaseCards ( )

Definition at line 16519 of file Game.cpp.

+ Here is the caller graph for this function:

◆ setCardImages()

void Game::setCardImages ( sf::Vector2i  cursorpos)

Definition at line 1314 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCardImages2()

void Game::setCardImages2 ( sf::Vector2i  cursorpos)

Definition at line 3874 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setDeck()

void Game::setDeck ( )

Definition at line 1166 of file Game.cpp.

+ Here is the caller graph for this function:

◆ setNotCardImages()

void Game::setNotCardImages ( sf::Vector2i  cursorpos)

Definition at line 7227 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setNotCardImages2()

void Game::setNotCardImages2 ( sf::Vector2i  cursorpos)

Definition at line 12473 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setNotDeck()

void Game::setNotDeck ( )

Definition at line 1237 of file Game.cpp.

+ Here is the caller graph for this function:

◆ setPlacingCards()

void Game::setPlacingCards ( )

Definition at line 15529 of file Game.cpp.

+ Here is the caller graph for this function:

◆ setPlay()

void Game::setPlay ( )

Definition at line 20680 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setReady()

void Game::setReady ( )

Definition at line 21916 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTheIcon()

void Game::setTheIcon ( )

Definition at line 16505 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTimer()

void Game::setTimer ( )

Definition at line 20652 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sortDeck()

void Game::sortDeck ( )

Definition at line 1219 of file Game.cpp.

+ Here is the caller graph for this function:

◆ sortNotDeck()

void Game::sortNotDeck ( )

Definition at line 1296 of file Game.cpp.

+ Here is the caller graph for this function:

◆ start()

void Game::start ( )

Definition at line 21942 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tableOfTruth()

void Game::tableOfTruth ( )

Definition at line 16954 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ thirdGamemode()

void Game::thirdGamemode ( sf::Window newWindow)

Definition at line 18181 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update()

void Game::update ( sf::Window newWindow)

Definition at line 449 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ winScreen()

void Game::winScreen ( sf::Window newWindow)

Definition at line 1123 of file Game.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: