20 lines
359 B
C++
20 lines
359 B
C++
//
|
|
// Created by sebastian on 08.02.26.
|
|
//
|
|
|
|
#ifndef OWNERCOMPONENT_H
|
|
#define OWNERCOMPONENT_H
|
|
#include "../../../../engine/core/ECS/Component.h"
|
|
#include "../../../player/Player.h"
|
|
|
|
|
|
class OwnerComponent : public Component{
|
|
public:
|
|
PlayerID playerID;
|
|
explicit OwnerComponent(PlayerID playerID) : playerID(playerID) {};
|
|
};
|
|
|
|
|
|
|
|
#endif //OWNERCOMPONENT_H
|