aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-memory-efficient/src/Components.cpp
blob: c8347b3df9a2922c2573a9b5848abf10466ef44b (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "Components.h"
#include <iostream>

Component::Component() : mActive(true) {}

Sprite::Sprite(std::string path) : mPath(path) {}

Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType)
	: mMass(mass), mGravityScale(gravityScale), mBodyType(bodyType) {}

Colider::Colider(int size) : mSize(size) {}