|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIghtaria.Scenario
public class Scenario
This class comprises at least two functionalities: Primary scenario dialog with driver. Dialog/commands with software engine. This class contains software version for an entire Ightaria package. The version is saved in constant "VERSION".
Field Summary | |
---|---|
static java.lang.String |
aCurvatureIs
|
static java.lang.String |
aDistanceIs
C r i t i c a l A n s w e r s |
static double |
aDistanceIsD
set at constructor-time |
static java.lang.String[] |
aNonCommon
N o t C o m m o n l y Accepted Answers In HomeFold |
static java.lang.String |
aRadiusIs
|
static java.lang.String |
aRadiusIs2
|
static boolean |
cheatEnabled
|
static java.lang.String[] |
COPYRIGHT
|
(package private) static int |
EV_MESSAGEFROMBRIDGE
|
(package private) static int |
EV_MESSAGEFROMDRIVER
|
(package private) static int |
EV_NOEVENT
|
(package private) static int |
grandMessageDuration
|
(package private) static int |
grandMessageFarOrFront
|
(package private) static java.awt.Font |
grandMessageFont
|
(package private) static int |
grandMessageFrameStart
|
(package private) static int |
grandMessageLength
|
(package private) static java.lang.String |
grandMessageString
|
static java.lang.String[] |
help
|
static int |
helpLength
|
static int |
imgLevelDisplayed
|
static int |
imgSketchDisplayed
|
static int |
initializedInt
|
static java.lang.String[] |
introduction
|
static int |
introductionLength
|
static int |
levAncestor
|
static int |
level
|
static java.lang.String[] |
level1Help
|
static int |
level1HelpLength
|
static java.lang.String[] |
levelTitle
|
static int |
levHFConqueror
|
static int |
levJustBorn
|
static int |
levNavigationExpert
|
static int |
nonInitializedInt
Program state detection variables. |
static SPad |
nonInitializedSPad
|
static Pop |
ppl
L i n k s t o s u b o r d i n a t e o b j e c t s |
static java.lang.String[] |
quickHelp
|
static int |
quickHelpLength
|
(package private) static java.lang.String |
S_WEKNOW
|
(package private) static java.lang.String |
S_WHAT
S t a n d a r d R e p l i e s |
static java.awt.Image[][] |
sketchImg
|
static java.awt.image.ImageObserver[][] |
sketchImgObs
|
(package private) static java.lang.String |
sL1
|
(package private) static java.lang.String |
sL2
|
(package private) static java.lang.String |
sL3
|
static java.lang.String[] |
story
|
static int |
storyLength
|
static int |
txt_Current
|
static int |
TXT_HELP
|
static int |
TXT_INTRODUCTION
|
static int |
TXT_LEVEL1HELP
|
static int |
TXT_NOTHING
R e s o u r c e s |
static int |
TXT_QUICK_HELP
|
static int |
TXT_STORY
|
static int |
TXT_SYSTEM_CONSOLE
|
static java.lang.String |
VERSION
|
(package private) static int |
welcomeMESSAGE_DURATION
Duration from beginning of the scenario |
(package private) static boolean |
welcomeMessagePrinted
|
Constructor Summary | |
---|---|
Scenario()
|
Method Summary | |
---|---|
static boolean |
closeSketch()
Returns false if nothing has been closed,, and Esc key can be reused. |
static boolean |
closeSketchAndHelp()
Returns false if nothing has been closed,, and Esc key can be reused. |
static void |
dialog(java.lang.String textResponse,
int eventResponse)
M a i n m e t h o d |
static void |
displayQuickHelp()
Shortcut |
static void |
displayText(int flagScrollText)
Do both image and text |
static void |
indicateLevel()
Level indicator. |
static void |
initiate()
|
static void |
mes(java.lang.String s)
Send message to driver |
static void |
mesc(java.lang.String s)
Clear talk board and send message to driver |
static void |
printGrandMessage(int frameNumber,
int farOrFront)
|
static void |
setText(int text_Ix)
To set/toggle text print from Resources text_Ix == TXT_NOTHING => removes display, == txt_Current => removes display != txt_Current => sets display to text_Ix |
static void |
setupGrandMessage(java.lang.String s,
int frameNumber,
int framesDuration,
int farOrFront)
|
static void |
setupWelcomeMessage(int frameStartNumber)
|
static java.lang.String |
title()
Made simply for convenience |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VERSION
public static final java.lang.String[] COPYRIGHT
public static int nonInitializedInt
public static SPad nonInitializedSPad
public static int initializedInt
static final int welcomeMESSAGE_DURATION
static boolean welcomeMessagePrinted
static int grandMessageFrameStart
static int grandMessageDuration
static int grandMessageFarOrFront
static java.lang.String grandMessageString
static java.awt.Font grandMessageFont
static int grandMessageLength
public static final java.lang.String[] levelTitle
public static final int levAncestor
public static final int levJustBorn
public static final int levNavigationExpert
public static final int levHFConqueror
public static int level
static java.lang.String sL1
static java.lang.String sL2
static java.lang.String sL3
static final int EV_NOEVENT
static final int EV_MESSAGEFROMDRIVER
static final int EV_MESSAGEFROMBRIDGE
public static boolean cheatEnabled
public static java.lang.String aDistanceIs
public static double aDistanceIsD
public static final java.lang.String aRadiusIs
public static final java.lang.String aRadiusIs2
public static final java.lang.String aCurvatureIs
public static java.lang.String[] aNonCommon
static final java.lang.String S_WHAT
static final java.lang.String S_WEKNOW
public static final int TXT_NOTHING
public static java.lang.String[] quickHelp
public static int quickHelpLength
public static final int TXT_QUICK_HELP
public static java.lang.String[] help
public static int helpLength
public static final int TXT_HELP
public static java.lang.String[] introduction
public static int introductionLength
public static final int TXT_INTRODUCTION
public static java.lang.String[] level1Help
public static int level1HelpLength
public static final int TXT_LEVEL1HELP
public static java.lang.String[] story
public static int storyLength
public static final int TXT_STORY
public static final int TXT_SYSTEM_CONSOLE
public static int txt_Current
public static int imgLevelDisplayed
public static int imgSketchDisplayed
public static java.awt.Image[][] sketchImg
public static java.awt.image.ImageObserver[][] sketchImgObs
public static Pop ppl
Constructor Detail |
---|
public Scenario()
Method Detail |
---|
public static void setText(int text_Ix)
public static void displayText(int flagScrollText)
public static void initiate()
public static void dialog(java.lang.String textResponse, int eventResponse)
public static java.lang.String title()
public static void mes(java.lang.String s)
public static void mesc(java.lang.String s)
public static void setupGrandMessage(java.lang.String s, int frameNumber, int framesDuration, int farOrFront)
public static void printGrandMessage(int frameNumber, int farOrFront)
public static void setupWelcomeMessage(int frameStartNumber)
public static void indicateLevel()
public static void displayQuickHelp()
public static boolean closeSketch()
public static boolean closeSketchAndHelp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |