16 lines
403 B
C++
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;
|
||
|
}
|
||
|
}
|