Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit 2070c55

Browse files
committed
coolstfuuff
1 parent 9080004 commit 2070c55

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed
Binary file not shown.
Binary file not shown.

Tetris1082/src/CSCI1082/century/edu/game/Game.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public void init(){
4444
h = new Handler(this);
4545
Assets.init();
4646

47-
4847
gameState = new GameState(h);
4948
menuState = new MenuState(h);
5049
State.setCurrentState(gameState);

Tetris1082/src/CSCI1082/century/edu/state/GameState.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@ private void getInput() {
121121

122122
public void tick() {
123123

124-
//tick the game to make pieces fall using counter, speed, and level
125124
getInput();
126125

127-
if(counter == 10) {
126+
if(counter == 15) {
128127
if(piecePosY < rows - (nextPiece[0].length-1))
129128
piecePosY++;
130129
counter = 0;

0 commit comments

Comments
 (0)