using static SDL2.SDL;

class Window
{
    IntPtr window;

    public Window(string title, int w, int h)
    {
        window = SDL_CreateWindow(title, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, w, h, SDL_WindowFlags.SDL_WINDOW_VULKAN);
    }

    public Window(string title, int x, int y, int w, int h, SDL_WindowFlags flags)
    {
        this.window = SDL_CreateWindow(title, x, y, w, h, flags);
    }

    public void Dispose()
    {
        SDL_DestroyWindow(this.window);
    }

    public IntPtr GetWindow()
    {
        return this.window;
    }
}
