All Packages Class Hierarchy This Package Previous Next Index
Class com.monpetitcoin.java.PrisonerGame.PrisonerApplet
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----com.monpetitcoin.java.PrisonerGame.PrisonerApplet
- public class PrisonerApplet
- extends java.applet.Applet
This very simple applet is just used to run a Prisoner's Dilemma game.
It does nothing except getting the parameters and instantiating a PrisonerGame object.
If the parameters are not set or not in a proper format, it gets the default value
from the PrisonerGame class.
- Version:
- 1.00 14 August 2001
- Author:
- François Suter
- See Also:
- com.monpetitcoin.java.PrisonerGame.PrisonerGame
-
columns
-
-
incentive
-
-
rows
-
-
thePrisoner
-
-
theSize
-
-
threshold
-
-
PrisonerApplet()
-
-
init()
-
thePrisoner
com.monpetitcoin.java.PrisonerGame.PrisonerGame thePrisoner
theSize
java.awt.Dimension theSize
rows
int rows
columns
int columns
threshold
double threshold
incentive
double incentive
PrisonerApplet
public PrisonerApplet()
init
public void init()
- Overrides:
- init in class java.applet.Applet
All Packages Class Hierarchy This Package Previous Next Index