aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-memory-efficient/src/Components.cpp
blob: 2ec86095899b8f5157a11deea5c0e271f6c13c01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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) {}