Mercurial > hg > ristipolku
view Ristipolku.java @ 160:d5fbad999841
Added signature for changeset 570e4e0e2205
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 10 Feb 2016 16:24:00 +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(); } }