All Classes Namespaces Files Functions Variables
ristinolla.RistiNollaController Class Reference

Yksikertaistettu risitinolla. More...

Inheritance diagram for ristinolla.RistiNollaController:

Public Member Functions

void initialize (URL location, ResourceBundle resources)
 

Private Member Functions

void laitaMerkki ()
 
void naytaVuorossa ()
 

Private Attributes

StringGrid< Object > grid
 
TextArea area
 
int vuorossa = 0
 
int koko = 8
 
String[] merkit = {"X", "O"}
 
String[] tyylit = {"risti", "nolla"}
 

Detailed Description

Yksikertaistettu risitinolla.

Vuorossa oleva pelaaja näytetään otsikko-rivin 0-sarakkeessa. Alueen oikean reunaan näytetään siirtohistoria

Author
vesal
Version
26.3.2016

Definition at line 19 of file RistiNollaController.java.

Member Function Documentation

void ristinolla.RistiNollaController.initialize ( URL  location,
ResourceBundle  resources 
)
inline

Definition at line 29 of file RistiNollaController.java.

void ristinolla.RistiNollaController.laitaMerkki ( )
inlineprivate

Definition at line 56 of file RistiNollaController.java.

void ristinolla.RistiNollaController.naytaVuorossa ( )
inlineprivate

Definition at line 70 of file RistiNollaController.java.

Member Data Documentation

TextArea ristinolla.RistiNollaController.area
private

Definition at line 21 of file RistiNollaController.java.

StringGrid<Object> ristinolla.RistiNollaController.grid
private

Definition at line 20 of file RistiNollaController.java.

int ristinolla.RistiNollaController.koko = 8
private

Definition at line 23 of file RistiNollaController.java.

String [] ristinolla.RistiNollaController.merkit = {"X", "O"}
private

Definition at line 24 of file RistiNollaController.java.

String [] ristinolla.RistiNollaController.tyylit = {"risti", "nolla"}
private

Definition at line 25 of file RistiNollaController.java.

int ristinolla.RistiNollaController.vuorossa = 0
private

Definition at line 22 of file RistiNollaController.java.


The documentation for this class was generated from the following file: