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";
}
|