aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Components.cpp
blob: f27c7a40ce17c55c554e56e24dc32640a0094563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "Components.h"

using namespace crepe;
using namespace std;

Component::Component() : active(true) {}

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

Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType)
	: mass(mass), gravity_scale(gravityScale), body_type(bodyType) {}

Collider::Collider(int size) : size(size) {}