Started work on networked test for ecs
This commit is contained in:
10
network-shared/include/network_components.h
Normal file
10
network-shared/include/network_components.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include "ecs.h"
|
||||
|
||||
struct Position : ecs::Component {
|
||||
Position(float _x, float _y) : x(_x), y(_y) {}
|
||||
Position() {}
|
||||
|
||||
float x = 0;
|
||||
float y = 0;
|
||||
};
|
||||
Reference in New Issue
Block a user