just use AllArgsConstructor
This commit is contained in:
parent
a03605ddac
commit
9c3ed7f078
1 changed files with 3 additions and 7 deletions
|
@ -1,6 +1,9 @@
|
|||
package land.chipmunk.chayapak.chomens_bot.song;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
// Author: hhhzzzsss
|
||||
@AllArgsConstructor
|
||||
public class Instrument {
|
||||
public static final Instrument HARP = new Instrument(0, "harp", 54);
|
||||
public static final Instrument BASEDRUM = new Instrument(1, "basedrum", 0);
|
||||
|
@ -24,13 +27,6 @@ public class Instrument {
|
|||
public final int offset;
|
||||
public final String sound;
|
||||
|
||||
private Instrument (int id, String name, int offset, String sound) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.offset = offset;
|
||||
this.sound = sound;
|
||||
}
|
||||
|
||||
private Instrument (int id, String name, int offset) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
|
|
Loading…
Reference in a new issue