const everywhere + légèrement changer format fichiers
This commit is contained in:
@@ -45,7 +45,7 @@ class GameParameters {
|
||||
* Checks if the game ended based on the current states and time passed, accorind to the gamemode
|
||||
* @return If the player has won
|
||||
*/
|
||||
bool hasWon(int framesPassed);
|
||||
bool hasWon(int framesPassed) const;
|
||||
|
||||
private:
|
||||
/**
|
||||
@@ -57,60 +57,60 @@ class GameParameters {
|
||||
/**
|
||||
* @return The current number of cleared line
|
||||
*/
|
||||
int getClearedLines();
|
||||
int getClearedLines() const;
|
||||
|
||||
/**
|
||||
* @return The current level
|
||||
*/
|
||||
int getLevel();
|
||||
int getLevel() const;
|
||||
|
||||
/**
|
||||
* @return The length of the next queue
|
||||
*/
|
||||
int getNextQueueLength();
|
||||
int getNextQueueLength() const;
|
||||
|
||||
/**
|
||||
* Returns wheter the blocks are currently bone blocks
|
||||
*/
|
||||
bool getBoneBlocks();
|
||||
bool getBoneBlocks() const;
|
||||
|
||||
/**
|
||||
* @return The current gravity for a 20-line high board
|
||||
*/
|
||||
int getGravity();
|
||||
int getGravity() const;
|
||||
|
||||
/**
|
||||
* @return The current lock delay
|
||||
*/
|
||||
int getLockDelay();
|
||||
int getLockDelay() const;
|
||||
|
||||
/**
|
||||
* @return The current forced lock delay
|
||||
*/
|
||||
int getForcedLockDelay();
|
||||
int getForcedLockDelay() const;
|
||||
|
||||
/**
|
||||
* @return The current ARE
|
||||
*/
|
||||
int getARE();
|
||||
int getARE() const;
|
||||
|
||||
/**
|
||||
* @return The current line ARE
|
||||
*/
|
||||
int getLineARE();
|
||||
int getLineARE() const;
|
||||
|
||||
/**
|
||||
* @return The current DAS
|
||||
*/
|
||||
int getDAS();
|
||||
int getDAS() const;
|
||||
|
||||
/**
|
||||
* @return The current ARR
|
||||
*/
|
||||
int getARR();
|
||||
int getARR() const;
|
||||
|
||||
/**
|
||||
* @return The current SDR
|
||||
*/
|
||||
int getSDR();
|
||||
int getSDR() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user