Mercurial > hg > ristipolku
view Ristipolku.java @ 65:dc936dba124e
Set game over-flag correctly, so that we reset everything after a game over
situation has occured.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 25 Feb 2011 07:37:38 +0200 |
parents | 6f483536a063 |
children | 64b04c0eccce |
line wrap: on
line source
/* * Ristipolku * (C) Copyright 2011 Matti 'ccr' Hämäläinen <ccr@tnsp.org> * * Ohjelmointiprojekti 2010-2011 Java-kurssille T740306. */ import javax.swing.*; import game.*; public class Ristipolku extends JApplet { Engine panel; public void init() { panel = new Engine(); getContentPane().add(panel); } public void start() { panel.startThreads(); } public void stop() { panel.stopThreads(); } }