Skip to content

Commit

Permalink
These methods are private
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Dec 10, 2015
1 parent 2f6210f commit da6d0a7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/game.hh
Original file line number Diff line number Diff line change
Expand Up @@ -179,24 +179,24 @@ private:
private:
static std::string GetStatePath();

SDL2pp::Rect GetCameraRect() const;
SDL2pp::Rect GetPlayerRect(float x, float y) const;
SDL2pp::Rect GetPlayerRect() const;
SDL2pp::Rect GetPlayerCollisionRect() const;
SDL2pp::Rect GetCoinRect(const SDL2pp::Point& coin) const;

void DepositCoins();

public:
Game(SDL2pp::Renderer& renderer);
~Game();

void SetActionFlag(int flag);
void ClearActionFlag(int flag);

SDL2pp::Rect GetCameraRect() const;
SDL2pp::Rect GetPlayerRect(float x, float y) const;
SDL2pp::Rect GetPlayerRect() const;
SDL2pp::Rect GetPlayerCollisionRect() const;
SDL2pp::Rect GetCoinRect(const SDL2pp::Point& coin) const;

void LoadVisibleTiles();
void Update(float delta_t);
void Render();//const SDL2pp::Rect& viewport);

void DepositCoins();
void Render();

void LoadState();
void SaveState() const;
Expand Down

0 comments on commit da6d0a7

Please sign in to comment.