public interface Database
Modifier and Type | Method and Description |
---|---|
void |
cleanMushroom(double fps)
Clean all of the mushroom tables
|
void |
cleanPlatePieces(double fps) |
void |
cleanReefer(double fps)
Truncate the reefer table
|
void |
cleanSpew(double fps)
Delete entries from the spew table
|
void |
cleanSpew2(double fps) |
void |
cleanSpewGlobals(double fps) |
java.util.List<ExplodePiece> |
getExplodePieces(double fps,
int f) |
java.util.List<ExplodeTopPiece> |
getExplodeTops(double fps,
int f) |
java.util.List<Magnet> |
getMagnets(double fps,
int f) |
java.util.List<MushPiece> |
getMushPieces(double fps,
int f) |
java.util.List<MushTopPiece> |
getMushTops(double fps,
int f) |
java.util.List<PlatePiece> |
getPlatePieces(double fps,
int f) |
int |
getReeferCount() |
java.util.List<Spew2> |
getSpew2s(double fps,
int f) |
int |
getSpewCount() |
java.util.List<SpewGlobal> |
getSpewGlobals(double fps) |
java.util.List<Spew> |
getSpews(double fps,
int f) |
void |
putExplodePiece(double fps,
int mindex,
int f,
ExplodePiece piece) |
void |
putExplodeTop(double fps,
int mindex,
int f,
ExplodeTopPiece piece) |
void |
putMagnet(double fps,
int mindex,
int f,
Magnet m)
Write this magnet to the database.
|
void |
putMushPiece(double fps,
int mindex,
int f,
MushPiece piece)
Write this MushroomCloud piece to the database.
|
void |
putMushTop(double fps,
int mindex,
int f,
MushTopPiece piece) |
void |
putPlatePiece(double fps,
int mindex,
int f,
PlatePiece piece) |
void |
putSpew(double fps,
int i,
int f,
Spew s)
Write this spew to the database
|
void |
putSpew2(double fps,
int i,
int f,
Spew2 s) |
void |
putSpewGlobal(double fps,
SpewGlobal sg) |
void cleanSpew(double fps)
fps
- The fps to cleanvoid cleanSpew2(double fps)
void putSpew(double fps, int i, int f, Spew s)
fps
- The fps to use as an indexi
- The spew index numberf
- The frames
- The spew to writevoid putSpew2(double fps, int i, int f, Spew2 s)
int getSpewCount()
int getReeferCount()
java.util.List<Spew> getSpews(double fps, int f)
java.util.List<Spew2> getSpew2s(double fps, int f)
void cleanSpewGlobals(double fps)
void putSpewGlobal(double fps, SpewGlobal sg)
java.util.List<SpewGlobal> getSpewGlobals(double fps)
void cleanReefer(double fps)
void putMagnet(double fps, int mindex, int f, Magnet m)
fps
- The fps to use as an indexmindex
- The index into the magnet array (which magnet is this)f
- The frame numberm
- The magnetjava.util.List<Magnet> getMagnets(double fps, int f)
void cleanMushroom(double fps)
fps
- The fps to deletevoid cleanPlatePieces(double fps)
void putMushPiece(double fps, int mindex, int f, MushPiece piece)
fps
- The fps to use as an indexmindex
- The index into the mushroom piece array.f
- The frame numberpiece
- The piece to writevoid putMushTop(double fps, int mindex, int f, MushTopPiece piece)
void putPlatePiece(double fps, int mindex, int f, PlatePiece piece)
java.util.List<MushPiece> getMushPieces(double fps, int f)
java.util.List<MushTopPiece> getMushTops(double fps, int f)
java.util.List<PlatePiece> getPlatePieces(double fps, int f)
void putExplodePiece(double fps, int mindex, int f, ExplodePiece piece)
void putExplodeTop(double fps, int mindex, int f, ExplodeTopPiece piece)
java.util.List<ExplodePiece> getExplodePieces(double fps, int f)
java.util.List<ExplodeTopPiece> getExplodeTops(double fps, int f)