Class Logik

java.lang.Object
  |
  +--Logik

public class Logik
extends java.lang.Object

Runs i all. Creates the playfield and generates the changes in the playfield when a cube is klicked.


Constructor Summary
Logik()
           
 
Method Summary
static int[][] klicka(int knapp, int x, int y, int z)
          Generates the changes and returns them.
 void reset()
           
static void skapaSpelfält(int nystorlek, int minor)
          Creates the playfield for the game MineSweep3D
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logik

public Logik()
Method Detail

skapaSpelfält

public static void skapaSpelfält(int nystorlek,
                                 int minor)
Creates the playfield for the game MineSweep3D


klicka

public static int[][] klicka(int knapp,
                             int x,
                             int y,
                             int z)
Generates the changes and returns them.


reset

public void reset()