Trying to replace pointers with references :v

This commit is contained in:
Kolyah35
2026-04-04 14:33:56 +03:00
parent 7418263193
commit 12f5013ddb
126 changed files with 1343 additions and 2068 deletions

View File

@@ -1,19 +1,22 @@
#pragma once
#include "client/gui/Screen.hpp"
#include "client/gui/components/TextBox.hpp"
class ChatScreen: public Screen
{
public:
ChatScreen() {}
virtual ~ChatScreen() {}
ChatScreen();
void init();
void render(int xm, int ym, float a);
void buttonClicked(Button* button) {};
bool handleBackEvent(bool isDown);
void keyPressed(int eventKey);
private:
TextBox m_input;
};