Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Auto committed Nov 4, 2023
1 parent 758bb45 commit 2f307b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game_api/screen.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class Screen
uint32_t unknown_zero;

virtual void init() = 0;
virtual void handle_player() = 0; // for normal level: death, camera zoom (level/shop), camera bounds, some save data stuff
virtual void update() = 0; // runs each frame, for level screens: death, camera zoom (level/shop), camera bounds, some save data stuff
virtual ~Screen() = 0;
virtual void render() = 0; // mostly used by the non gameplay screens to draw textures and text
virtual void render() = 0; // mostly used by the non gameplay screens to draw textures, text, UI

std::uint32_t reserve_callback_id();
void unhook(std::uint32_t id);
Expand Down

0 comments on commit 2f307b1

Please sign in to comment.