bettola/src/game/remote_player.h
Ritchie Cunningham ad2a540554 [Refactor] Unify client and server player classes.
A bit of an architectural change before we progress further. Moved
player code into a shared PlayerBass class to elimnate some severe code
duplication while i was getting things working.
2025-09-16 00:10:35 +01:00

17 lines
309 B
C++

#pragma once
#include "bettola/game/player_base.h"
class RemotePlayer : public PlayerBase {
public:
RemotePlayer(unsigned int id, float x, float y);
void update(double dt);
void set_target_position(float x, float y, float yaw);
private:
float _target_x;
float _target_y;
float _target_yaw;
};