Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 06-Practice-29.03.2022 / ex1 / Entity.cpp
blob: a4ad52e61367b6c6229fc08ccedb83a1b2a8d03c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "Entity.h"
#include <iostream>

Entity::Entity() {
	x = 0;
	std::cout << "Entity created!";
}
Entity::Entity(int xVal) {
	x = xVal;
}

Entity::~Entity() {
	std::cout << "Entity destroyed";
}