package cz.jzitnik.game.objects;

import cz.jzitnik.game.utils.Renderable;
import cz.jzitnik.game.utils.RoomCords;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;

import java.awt.image.BufferedImage;

@Getter
@RequiredArgsConstructor
public sealed abstract class GameObject implements Renderable permits Chest {
    private final BufferedImage texture;
    private final RoomCords cords;
    private final boolean selectable;

    @Setter
    private boolean selected = false;
}
