Пример #1
0
 public void DrawEveryThing(Graphics g) {
   moveLayerOne(g); // moves the background makes it parallax scrolling
   moveLayerTwo(g); // the decorations
   drawPowerUpEffect(g); // draws the powerup effect
   moveLayerThree(g); // moves all the other stuff
   newPattern(); // makes a new PAttern
   newDecos(); // makes new decorations
   atLevel();
   levelUp(); // changes the level
   checkAllCollisions();
   removePoof(); // remove the poofs
   moveEverything(); // moves everything
   player1.changeVelocity();
 }