1
0

move playercontroller to entity

This commit is contained in:
Sky Johnson 2025-09-09 13:05:38 -05:00
parent 4484b381b8
commit e0171963c5
5 changed files with 2 additions and 31 deletions

View File

@ -3,7 +3,7 @@ CXXFLAGS = -std=c++20 -Wall -Wextra -O2 -I.
LDFLAGS = -lraylib -lboost_system -lpthread -lGL -lm -ldl -lrt -lX11
TARGET = game
SOURCES = main.cpp PlayerController.cpp net/NetworkManager.cpp
SOURCES = main.cpp entity/player/PlayerController.cpp net/NetworkManager.cpp
OBJECTS = $(SOURCES:.cpp=.o)
all: $(TARGET)

View File

@ -12,7 +12,7 @@
#include <cstring>
#include <thread>
#include <chrono>
#include "PlayerController.hpp"
#include "entity/player/PlayerController.hpp"
#include "net/NetworkManager.hpp"
constexpr int WORLD_SIZE = 100;

View File

@ -1,29 +0,0 @@
{
"foo": {
"username": "foo",
"color": "orange",
"position": {
"X": -25.698553,
"Y": 4.9015007,
"Z": 39.29553
}
},
"sky": {
"username": "sky",
"color": "purple",
"position": {
"X": 5.9400105,
"Y": -0.055064563,
"Z": -3.896852
}
},
"test": {
"username": "test",
"color": "red",
"position": {
"X": 2.1930797,
"Y": -0.08324346,
"Z": -1.550154
}
}
}