package fhscs.snake.impl;

import java.awt.Canvas;
import java.awt.Graphics;

import fhscs.snake.Game;

@SuppressWarnings("serial")
public class GameCanvas extends Canvas {

    private final Game game;
    
    public GameCanvas(Game game) {
        this.game = game;
    }
    
    @Override
    public void paint(Graphics g) {
        drawSnake(g);
        drawApple(g);
        drawBoard(g);
    }
    
    /**
     * Draws the {@link Snake}
     */
    private static void drawSnake(Graphics g) {
        
    }
    
    /**
     * Draws the Apple
     */
    private static void drawApple(Graphics g) {
        
    }
    
    /**
     * Draws the {@link Board}
     */
    private static void drawBoard(Graphics g) {
        
    }
    
}

@@ -197,24 +197,74 @@
  game;%0A    %0A
+    private static final int blockSize = 20;%0A    %0A
     public G
@@ -282,24 +282,24 @@
 ame game) %7B%0A
-
         this
@@ -501,39 +501,32 @@
  */%0A    private 
-static 
 void drawSnake(G
@@ -601,39 +601,32 @@
  */%0A    private 
-static 
 void drawApple(G
@@ -697,32 +697,32 @@
  Board%7D%0A     */%0A
+
     private stat
@@ -717,23 +717,16 @@
 private 
-static 
 void dra

Make GameCanvas methods non-static