[PlutoLib] Cosmetic changes, removed EventData.java

This commit is contained in:
Tefek 2020-12-21 19:24:01 +01:00
parent 5bba5ceea2
commit e209da82c7
3 changed files with 4 additions and 18 deletions

View File

@ -3,6 +3,7 @@
* `[PlutoLib]` *Removed* `TextIn`, `TextOut`, `ResourceImage` and `ResourceInputStream`
* `[PlutoLib]` *Removed* `StaticPlutoEventManager` as the implementation was too obscure
* The module system now uses its own event management
* *Removed* the `EventData` class
* `[PlutoLib]` Made `OutputSplitStream` public as it is now reusable
* `[PlutoLib]` Added the `@ConstantExpression` annotation
* `[PlutoLib]` The `RAID#getIDOf` method now returns `OptionalInt` to avoid NPEs
@ -56,9 +57,9 @@ Awaiting implementation:
* `[PlutoLib]` Deprecated `TPL#load(String)` in favor of `TPL#load(ResourceAddress)`,
`TPL#load(File)` and `TPL#load(Path)`
* `[PlutoTexturing]` Deprecated the `String` variant of `Texture#load`
to reflect this change
to reflect this change
* `[PlutoSpritesheet]` Removed the usage of this method
in `DisposablePlaceholderSprite`
in `DisposablePlaceholderSprite`
* `[PlutoLib]` Added an option to flip loaded images with `TPL#loadImageSpecial`
and added respective `TPL#loadSpecial` for every `TPL#load`
* `[PlutoLib]` *Removed* `TPJImage`

View File

@ -45,11 +45,6 @@ public class MiniTime
{
private static class MiniTimeParseException extends RuntimeException
{
/**
*
*/
private static final long serialVersionUID = -5403949842120041373L;
public MiniTimeParseException()
{
super("Time period could not be parsed. Correct format: \\_w\\_d\\_h\\_m\\_s **without spaces** between the units. You can skip a time unit. Example: 1h15m");
@ -189,7 +184,7 @@ public class MiniTime
throw new MiniTimeParseException();
}
time += multiplier * number;
time += (long) multiplier * number;
}
return System.currentTimeMillis() + time;

View File

@ -1,10 +0,0 @@
package cz.tefek.pluto.event;
/**
* @author 493msi
*
*/
public class EventData
{
}