1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Remove entclass::clear(), simplify entclass initializations

Previously there was an entclass::clear(), and initialization of an
entclass was done by calling clear() in order to not duplicate code. But
now there's no need for an entclass::clear(), and it is in fact unused
(just call entityclass::removeentity() instead), so I'm removing this
function.
This commit is contained in:
Misa 2020-04-03 14:57:07 -07:00 committed by Ethan Lee
parent ecf556dc55
commit 2cb90afbda
2 changed files with 0 additions and 8 deletions

View file

@ -2,12 +2,6 @@
entclass::entclass()
{
clear();
}
void entclass::clear()
{
// Set all values to a default, required for creating a new entity
invis = false;
type = 0;
size = 0;

View file

@ -8,8 +8,6 @@ class entclass
public:
entclass();
void clear();
bool outside();
void setenemy(int t);