ScriptEntityParticle:

-Particles can now start or end at a certain tick, and loop or not loop.
-Added setSize(), getWidth() and getHeight() functions.
-Added setOffset(), getOffsetX(), and getOffsetY() functions.
-Added setAnimRate() and getAnimRate() functions.
This commit is contained in:
Luis C.M committed 2022-05-06 01:22:48 -05:00
1 parent 728269ff87
commit 2d2933e873
5 files changed
+55 -16

No files matched your search

@@ -82,7 +82,8 @@ public class ScriptEntity<T extends Entity> implements IEntity {
rotationX1, rotationX2, rotationXRate, rotationXRateStart,
rotationY1, rotationY2, rotationYRate, rotationYRateStart,
rotationZ1, rotationZ2, rotationZRate, rotationZRateStart,
true, -1, -1, 0,0, 0,
true, -1, -1, 0,0,
0, true, 0, 0,
entityID
);
}
@@ -101,7 +102,8 @@ public class ScriptEntity<T extends Entity> implements IEntity {
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
true, -1, -1, 0,0,0,
true, -1, -1, 0,0,
0, true, 0, 0,
entityID
);
}
@@ -119,7 +121,8 @@ public class ScriptEntity<T extends Entity> implements IEntity {
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
true, -1, -1, 0,0,0,
true, -1, -1, 0,0,
0, true, 0, 0,
entityID
);
}
@@ -136,7 +139,8 @@ public class ScriptEntity<T extends Entity> implements IEntity {
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
true, -1, -1, 0,0,0,
true, -1, -1, 0,0,
0, true, 0, 0,
entityID
);
}
@@ -152,7 +156,8 @@ public class ScriptEntity<T extends Entity> implements IEntity {
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
true, -1, -1, 0,0,0,
true, -1, -1, 0,0,
0, true, 0, 0,
entityID
);
}
@@ -167,7 +172,8 @@ public class ScriptEntity<T extends Entity> implements IEntity {
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
true, -1, -1, 0,0,0,
true, -1, -1, 0,0,
0, true, 0, 0,
entityID
);
}