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

16 lines
403 B
C++

#include "KRectPawn.h"
namespace KapitanGame
{
KRectPawn::KRectPawn(const KVector2D& position, const KTexture& texture,
const std::shared_ptr<KPlayerController>& playerController, KSettings* settings) : KPawn(position, texture, playerController, settings),
Collider(this, texture.GetWidth(), texture.GetHeight())
{
}
const KCollider* KRectPawn::GetCollider() const
{
return &Collider;
}
}