aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon/events/DungeonStateChangeEvent.java
blob: cc895b49e376de407ef2554cc7b6b1b4a8e6f6d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package kr.syeyoung.dungeonsguide.dungeon.events;

import kr.syeyoung.dungeonsguide.dungeon.roomfinder.DungeonRoom;
import lombok.AllArgsConstructor;
import lombok.Data;
import net.minecraft.util.BlockPos;

import java.awt.*;
import java.util.UUID;

@Data
@AllArgsConstructor
public class DungeonStateChangeEvent implements DungeonEventData {
    private Point unitPt;
    private String roomName;
    private DungeonRoom.RoomState from;
    private DungeonRoom.RoomState to;

    @Override
    public String getEventName() {
        return "ROOM_STATE_CHANGE";
    }
}