2dkg/2dkg_zad5/2dgk_zad5/KSolid.h
2022-01-20 08:52:14 +01:00

22 lines
437 B
C++

#pragma once
#include <SDL_render.h>
#include "KDrawable.h"
#include "KTexture.h"
#include "KVector2d.h"
namespace KapitanGame
{
class KCamera;
class KCollider;
class KSolid : public KDrawable
{
public:
KSolid(const KVector2D& position, const KTexture& texture, SDL_Rect* tileClip, SDL_RendererFlip flip = SDL_FLIP_NONE);
~KSolid() override = default;
[[nodiscard]] virtual const KCollider* GetCollider() const = 0;
};
}