Mercurial > hg > ristipolku
view Ristipolku.java @ 182:88b364dfd501
Rememeber to add the new class to build system ..
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 16 Mar 2017 12:23:17 +0200 |
parents | 64b04c0eccce |
children | f3302a2d7815 |
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(); } }