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