mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-19 17:19:58 +02:00
Implement more Monolith research nodes
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
package emu.nebula.data.resources;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import emu.nebula.data.BaseDef;
|
||||
import emu.nebula.data.ResourceType;
|
||||
import emu.nebula.game.tower.room.RoomType;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
@@ -10,11 +13,19 @@ public class StarTowerStageDef extends BaseDef {
|
||||
private int Id;
|
||||
private int Stage;
|
||||
private int Floor;
|
||||
private int RoomType;
|
||||
private int InteriorCurrencyQuantity;
|
||||
@SerializedName("RoomType")
|
||||
private int RoomTypeValue;
|
||||
|
||||
private transient RoomType roomType;
|
||||
|
||||
@Override
|
||||
public int getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
this.roomType = RoomType.getByValue(this.RoomTypeValue);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user