Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Final Push before presentation
  • Loading branch information
jdm13003 committed Apr 27, 2016
1 parent a0be164 commit c8daf01
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/Controller.java
Expand Up @@ -34,7 +34,13 @@ public class Controller {


} }
} }

public void reset(){
ea.clear();
eb.clear();
ec.clear();
ed.clear();

}




public void createSD(int SDcount){ public void createSD(int SDcount){
Expand Down
1 change: 1 addition & 0 deletions src/main/Game.java
Expand Up @@ -299,6 +299,7 @@ public class Game extends Canvas implements Runnable{
bufferstrat.show(); bufferstrat.show();


} }

public void keyPressed(KeyEvent e){ public void keyPressed(KeyEvent e){
int key = e.getKeyCode(); int key = e.getKeyCode();
if(State == STATE.GAME){ if(State == STATE.GAME){
Expand Down
3 changes: 3 additions & 0 deletions src/main/ShowScore.java
Expand Up @@ -14,6 +14,9 @@ public class ShowScore {
Font title_font = new Font("comic sans ms", Font.BOLD, 100); Font title_font = new Font("comic sans ms", Font.BOLD, 100);
g.setFont(title_font); g.setFont(title_font);
g.setColor(Color.white); g.setColor(Color.white);
if(game.getScore() < 100){
shift = 0;
}
if(game.getScore()>= 100){ if(game.getScore()>= 100){
shift = -50; shift = -50;
} }
Expand Down

0 comments on commit c8daf01

Please sign in to comment.