GameBoard::moveTilesRight() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

GameBoard::moveTilesRight() method

@fn int GameBoard::moveTilesRight(bool performMove); Calculates all the tiles that can be moved to the right The actual tiles are only moved if the parameter performMove is true.

Syntax

int moveTilesRight(bool performMove);
Implemented in GameBoard.cpp:479

Arguments

performMove

true if the method should actually perform the move on the board.

Return value

the number of tiles that would be / is moved

References

LocationReferrerScopeText
GameBoard.cpp:479
int GameBoard::moveTilesRight(bool performMove)
GameBoard.hpp:156
int moveTilesRight(bool performMove);
GameBoard.cpp:77GameBoard::handleClickEvent()GameBoard
(dragX > 0) ? moveTilesRight(true) : moveTilesLeft(true);
GameBoard.cpp:528GameBoard::moveTilesLeft()GameBoard
int numberOfTilesMoved = moveTilesRight(performMove);
GameBoard.cpp:537GameBoard::moveTilesUp()GameBoard
int numberOfTilesMoved = moveTilesRight(performMove);
GameBoard.cpp:549GameBoard::moveTilesDown()GameBoard
int numberOfTilesMoved = moveTilesRight(performMove);
GameBoard.cpp:574GameBoard::hasGameBeenLost()GameBoard
result &= (moveTilesRight(false) == 0);
GameBoard.cpp:651GameBoard::handleTickEvent()GameBoard
numberOfTilesMoved = moveTilesRight(false);
GameBoard.cpp:670GameBoard::handleTickEvent()GameBoard
moveTilesRight(true);

Call Tree

Functions calling GameBoard::moveTilesRight()
Functions called by GameBoard::moveTilesRight()
GameBoard::moveTilesRight()
Data read by GameBoard::moveTilesRight()
Data written by GameBoard::moveTilesRight()
GameBoard::moveTilesRight()::numberOfTilesMoved
GameBoard::moveTilesRight()::i
GameBoard::moveTilesRight()::lastActiveTile
GameBoard::moveTilesRight()::j
GameBoard::moveTilesRight()::j2
all items filtered out
GameBoard::moveTilesRight()
GameBoard::moveTilesRight()::numberOfTilesMoved
GameBoard::moveTilesRight()::i
GameBoard::moveTilesRight()::lastActiveTile
GameBoard::moveTilesRight()::j
GameBoard::moveTilesRight()::j2
all items filtered out