Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package src.pacman.util; import src.pacman.view.GameBoard; import android.graphics.Canvas; import android.view.SurfaceHolder; public class DrawThread extends Thread { private SurfaceHolder surfaceHolder; private GameBoard gameBoard; private boolean isRunning = false; public DrawThread(SurfaceHolder surfaceHolder, GameBoard gameBoard) { this.surfaceHolder = surfaceHolder; this.gameBoard = gameBoard; } public SurfaceHolder getSurfaceHolder() { return surfaceHolder; } public void setSurfaceHolder(SurfaceHolder surfaceHolder) { this.surfaceHolder = surfaceHolder; } public GameBoard getGameBoard() { return gameBoard; } public void setGameBoard(GameBoard gameBoard) { this.gameBoard = gameBoard; } public boolean isRunning() { return isRunning; } public void setRunning(boolean running) { isRunning = running; } @Override public void run() { Canvas c; while (isRunning()) { try { sleep(500); } catch (InterruptedException e) { e.printStackTrace(); } c = null; try { c = surfaceHolder.lockCanvas(null); synchronized (surfaceHolder) { gameBoard.updatePositions(); gameBoard.onDraw(c); } } finally { // do this in a finally so that if an exception is thrown // during the above, we don't leave the Surface in an // inconsistent state if (c != null) { surfaceHolder.unlockCanvasAndPost(c); } } } } }