// Author: Tom Zdanowski and Nathan Hester public static void Draw(GameState state) { // 1. Sets up the so called background which involves the container and preview window SOM.drawBackground(); // 2. add activeShape and nextShape via getter and setter from GameState state.getActiveShape().Draw(); state.getNextShape().Draw(); // 3. fill in grid for tetris board state.getGrid().Draw(); // 4. add strings to showcase the currentLevel, currentScore, and totalLinesCleared SOM.drawStrings(state); }