public class ReeferWorld extends TteoacWorld
Modifier and Type | Field and Description |
---|---|
protected Database |
db
If we are databasing, the database
|
protected boolean |
DEBUG |
boolean |
drawTargetMarkers |
int |
endFrame |
protected org.apache.commons.logging.Log |
log |
int |
magnetCount |
Magnet[] |
magnets |
protected java.lang.String |
outPath
The directory that we are writing our file(s) too
|
int |
paradeMagnetCount |
protected static double |
reeferDepth |
protected static double |
reeferDoorClosed |
protected static double |
reeferDoorClosing |
protected static double |
reeferDoorStartsToOpen |
protected static double |
reeferInView |
protected static double |
reeferKidMoving |
protected static double |
reeferShowsOver |
protected static double |
reeferWidth |
int |
scene |
int |
startFrame |
protected static double |
ttkoReeferMagnetsHide |
protected static double |
ttkoReeferMagnetsPause |
protected static double |
ttkoReeferMagnetsScared |
fireplaceShelfLength, rwavF, rwavG, scenecount, SCENEttbo, sceneTtbo480Length, sceneTtbo720Length, sceneTtboLength, SCENEttco, sceneTtco480Length, sceneTtco720Length, sceneTtcoLength, SCENEttdo, sceneTtdo480Length, sceneTtdo720Length, sceneTtdoLength, SCENEtteo, sceneTteo480Length, sceneTteo720Length, sceneTteoLength, SCENEttfo, sceneTtfo480Length, sceneTtfo720Length, sceneTtfoLength, SCENEttho, sceneTtho480Length, sceneTtho720Length, sceneTthoLength, SCENEttko, sceneTtko480Length, sceneTtko720Length, sceneTtkoLength, SCENEttlo, sceneTtlo480Length, sceneTtlo720Length, sceneTtloLength, SCENEttso, sceneTtso480Length, sceneTtso720Length, sceneTtsoLength, SCENEttto, sceneTtto480Length, sceneTtto720Length, sceneTttoLength, SCENEttvo, sceneTtvo480Length, sceneTtvo720Length, sceneTtvoLength, straightTrackLength, trackCircleRadius, tteo480VolcanoEruptCymbal1, tteo480VolcanoEruptCymbal2, tteo480VolcanoEruptCymbal3, tteo480VolcanoEruptMainGun, tteo480VolcanoEruptStart, tteo720VolcanoEruptCymbal1, tteo720VolcanoEruptCymbal2, tteo720VolcanoEruptCymbal3, tteo720VolcanoEruptMainGun, tteo720VolcanoEruptStart, tteoVolcanoEruptCymbal1, tteoVolcanoEruptCymbal2, tteoVolcanoEruptCymbal3, tteoVolcanoEruptMainGun, tteoVolcanoEruptStart, ttfo480FRBubbleEnd, ttfo720FRBubbleEnd, ttfoFRBubbleEnd, ttko480MCExplodeEnd, ttko480MCExplodePause, ttko480MCExplodeResume, ttko480MCExplodeStart, ttko480MCExplosionHitsKid, ttko480MCGrowStart, ttko480MCShrinkStart, ttko480MCTopStart, ttko480PlateCrashEnd, ttko480PlateCrashFlyStart, ttko480ReeferMagnetsHide, ttko480ReeferMagnetsPause, ttko480ReeferMagnetsScared, ttko720MCExplodeEnd, ttko720MCExplodePause, ttko720MCExplodeResume, ttko720MCExplodeStart, ttko720MCExplosionHitsKid, ttko720MCGrowStart, ttko720MCShrinkStart, ttko720MCTopStart, ttko720PlateCrashEnd, ttko720PlateCrashFlyStart, ttko720ReeferMagnetsHide, ttko720ReeferMagnetsPause, ttko720ReeferMagnetsScared, ttkoMCExplodeEnd, ttkoMCExplodePause, ttkoMCExplodeResume, ttkoMCExplodeStart, ttkoMCExplosionHitsKid, ttkoMCGrowStart, ttkoMCShrinkStart, ttkoMCTopStart, ttkoPlateCrashEnd, ttkoPlateCrashFlyStart, ttlo480Camera2Start, ttlo480Camera3Start, ttlo480LiftoffStart, ttlo480LocoMoveStart, ttlo480RollProgramEnd, ttlo480RollProgramStart, ttlo720Camera2Start, ttlo720Camera3Start, ttlo720LiftoffStart, ttlo720LocoMoveStart, ttlo720RollProgramEnd, ttlo720RollProgramStart, ttloCamera2Start, ttloCamera3Start, ttloLiftoffStart, ttloLocoMoveStart, ttloRollProgramEnd, ttloRollProgramStart, ttloThrustLength, ttso480CabooseLand, ttso480Camera2End, ttso480Camera3End, ttso480MaxQResumeStart, ttso480MecoOff, ttso480MecoSputterE, ttso480MecoSputterS, ttso480MecoStart, ttso480SeOn, ttso480SepaRingStart, ttso480SepaStart, ttso480SeSputter1E, ttso480SeSputter1S, ttso480SeSputter2E, ttso480SeSputter2S, ttso480SeStart, ttso480SlPipeEnd, ttso480SlPipeStart, ttso480TimeFPSDifferential, ttso720CabooseLand, ttso720Camera2End, ttso720Camera3End, ttso720MaxQResumeStart, ttso720MecoOff, ttso720MecoSputterE, ttso720MecoSputterS, ttso720MecoStart, ttso720SeOn, ttso720SepaRingStart, ttso720SepaStart, ttso720SeSputter1E, ttso720SeSputter1S, ttso720SeSputter2E, ttso720SeSputter2S, ttso720SeStart, ttso720SlPipeEnd, ttso720SlPipeStart, ttso720TimeFPSDifferential, ttsoCabooseLand, ttsoCamera2End, ttsoCamera3End, ttsoMaxQResumeStart, ttsoMecoOff, ttsoMecoSputterE, ttsoMecoSputterS, ttsoMecoStart, ttsoSeOn, ttsoSepaRingStart, ttsoSepaStart, ttsoSeSputter1E, ttsoSeSputter1S, ttsoSeSputter2E, ttsoSeSputter2S, ttsoSeStart, ttsoSlPipeEnd, ttsoSlPipeStart, ttsoTimeFPSDifferential, ttto480FRLastRock, ttto480FRShowEnd, ttto480FRShowStart, ttto720FRLastRock, ttto720FRShowEnd, ttto720FRShowStart, tttoFRLastRock, tttoFRShowEnd, tttoFRShowStart
Constructor and Description |
---|
ReeferWorld()
Creates a new instance of ReeferWorld
|
Modifier and Type | Method and Description |
---|---|
protected void |
closeSet(java.io.FileWriter out)
finish writing this set
|
void |
initialize()
Populate the world.
|
double |
loadDB(double fps,
int scene,
int frame) |
protected java.io.FileWriter |
openSet(int num) |
void |
setDatabase(Database rdb)
set the database object
|
void |
setDirectory(java.lang.String s)
Set the directory where we will write our output files
|
protected boolean |
writePositions(Database db,
double fps,
int f)
Write the magnets to the database
|
void |
writePositions(java.io.Writer out,
double now,
int f)
Output the initial declarations for our spew
|
sceneToString, setupEdition
curve0, curve1, curve2, curve3, curve4, curve5, curve6, curve7, curve8, curve9, curve9a, interpolate3, interpolate3, interpolate5, parsePoint, vToRotY
protected final org.apache.commons.logging.Log log
protected boolean DEBUG
public boolean drawTargetMarkers
protected static final double reeferInView
protected static final double reeferDoorStartsToOpen
protected static final double reeferDoorClosing
protected static final double reeferDoorClosed
protected static final double reeferKidMoving
protected static final double reeferShowsOver
protected static final double reeferWidth
protected static final double reeferDepth
protected static final double ttkoReeferMagnetsScared
protected static final double ttkoReeferMagnetsHide
protected static final double ttkoReeferMagnetsPause
public int startFrame
public int endFrame
public int scene
public final int magnetCount
public int paradeMagnetCount
public Magnet[] magnets
protected java.lang.String outPath
protected Database db
public void setDirectory(java.lang.String s)
setDirectory
in class TteoacWorld
s
- The new directorypublic void setDatabase(Database rdb)
public void initialize()
public double loadDB(double fps, int scene, int frame)
protected void closeSet(java.io.FileWriter out) throws java.io.IOException
java.io.IOException
protected java.io.FileWriter openSet(int num)
public void writePositions(java.io.Writer out, double now, int f) throws java.io.IOException
out
- The FileWriter to write our output to.now
- The time index for this iteration of writing.f
- The frame number for this iteration of writing.java.io.IOException
- Failed to write to the open file.protected boolean writePositions(Database db, double fps, int f)
db
- The databasefps
- The fps we are runningf
- The frame number