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

using namespace crepe;

Component::Component() : m_active(true) {}

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

Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType)
	: m_mass(mass), m_gravity_scale(gravityScale), m_body_type(bodyType) {}

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