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

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

void Sprite::Render() {
	std::cout << "Rendering sprite" << std::endl;
}

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

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