Updated the arrangement of interfaces and functions of ScriptParticle to be more readable for future javadoc filling.

This commit is contained in:
Luis C.M committed 2022-05-17 05:35:08 -05:00
1 parent 57ce6b7a26
commit af4b467931
2 files changed
+93 -151

No files matched your search

@@ -12,6 +12,18 @@ public interface IParticle {
void spawnInWorld(ScriptWorld world, double x, double y, double z);
void setFacePlayer(boolean facePlayer);
boolean getFacePlayer();
void setDirectory(String directory);
String getDirectory();
void setAmount(int amount);
int getAmount();
void setMaxAge(int maxAge);
int getMaxAge();
void setSize(int width, int height);
int getWidth();
int getHeight();
@@ -21,90 +33,56 @@ public interface IParticle {
int getOffsetY();
void setAnim(int animRate, boolean animLoop, int animStart, int animEnd);
void setAnimRate(int animRate);
int getAnimRate();
void setAnimLoop(boolean animLoop);
boolean getAnimLoop();
void setAnimStart(int animStart);
int getAnimStart();
void setAnimEnd(int animEnd);
int getAnimEnd();
boolean getFacePlayer();
void setFacePlayer(boolean facePlayer);
String getDirectory();
int getAmount();
int getMaxAge();
void setPosition(double x, double y, double z);
double getX();
double getY();
double getZ();
void setMotion(double motionX, double motionY, double motionZ, float gravity);
double getMotionX();
double getMotionY();
double getMotionZ();
float getGravity();
void setHEXColor(int HEXColor, int HEXColor2, float HEXColorRate, int HEXColorStart);
int getHEXColor1();
int getHEXColor2();
float getHEXColorRate();
int getHEXColorStart();
void setAlpha(float alpha1, float alpha2, float alphaRate, int alphaRateStart);
float getAlpha1();
float getAlpha2();
float getAlphaRate();
int getAlphaRateStart();
void setScale(float scale1, float scale2, float scaleRate, int scaleRateStart);
float getScale1();
float getScale2();
float getScaleRate();
int getScaleRateStart();
void setRotationX(float rotationX1, float rotationX2, float rotationXRate, int rotationXRateStart);
float getRotationX1();
float getRotationX2();
float getRotationXRate();
int getRotationXRateStart();
void setRotationY(float rotationY1, float rotationY2, float rotationYRate, int rotationYRateStart);
float getRotationY1();
float getRotationY2();
float getRotationYRate();
int getRotationYRateStart();
void setRotationZ(float rotationZ1, float rotationZ2, float rotationZRate, int rotationZRateStart);
float getRotationZ1();
float getRotationZ2();
float getRotationZRate();
int getRotationZRateStart();
void setDirectory(String directory);
void setAmount(int amount);
void setMaxAge(int maxAge);
void setPosition(double x, double y, double z);
void setX(double x);
void setY(double y);
void setZ(double z);
void setMotion(double motionX, double motionY, double motionZ, float gravity);
void setMotionX(double motionX);
void setMotionY(double motionY);
void setMotionZ(double motionZ);
void setGravity(float gravity);
void setHEXColor(int HEXColor, int HEXColor2, float HEXColorRate, int HEXColorStart);
void setAlpha(float alpha1, float alpha2, float alphaRate, int alphaRateStart);
void setScale(float scale1, float scale2, float scaleRate, int scaleRateStart);
void setRotationX(float rotationX1, float rotationX2, float rotationXRate, int rotationXRateStart);
void setRotationY(float rotationY1, float rotationY2, float rotationYRate, int rotationYRateStart);
void setRotationZ(float rotationZ1, float rotationZ2, float rotationZRate, int rotationZRateStart);
}