Started work on networked test for ecs

This commit is contained in:
2019-06-28 03:18:54 +02:00
parent e43dbea6b1
commit f77c9d7823
4 changed files with 168 additions and 4 deletions

View 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;
};