SpelunkyRemake / Ladder.h
Ladder.h
Raw
#pragma once
#include "Texture.h"

class Ladder
{
public:
	Ladder(int x, int y, bool isPlatform = false);
	~Ladder();

	void Draw() const;

	static Texture* m_pTexture;

	Rectf& GetHitbox();
	Rectf GetThinnerHitbox();

	int GetX() const;
	int GetY() const;

private:
	Rectf m_Hitbox;
	static int m_Count;

	bool m_isPlatform;

	int m_X;
	int m_Y;
};