diff --git a/Boss.h b/Boss.h index d98c5e5..ce350c7 100644 --- a/Boss.h +++ b/Boss.h @@ -1,3 +1,6 @@ +#ifndef TWANG_BOSS_H +#define TWANG_BOSS_H + #include "Arduino.h" class Boss @@ -40,3 +43,5 @@ bool Boss::Alive(){ void Boss::Kill(){ _alive = 0; } + +#endif \ No newline at end of file diff --git a/Conveyor.h b/Conveyor.h index 7d64a7d..5583b37 100644 --- a/Conveyor.h +++ b/Conveyor.h @@ -1,3 +1,6 @@ +#ifndef TWANG_CONVEYOR_H +#define TWANG_CONVEYOR_H + #include "Arduino.h" class Conveyor @@ -21,3 +24,5 @@ void Conveyor::Spawn(int startPoint, int endPoint, int dir){ void Conveyor::Kill(){ _alive = false; } + +#endif \ No newline at end of file diff --git a/Enemy.h b/Enemy.h index 14a96bf..eab24fe 100644 --- a/Enemy.h +++ b/Enemy.h @@ -1,3 +1,6 @@ +#ifndef TWANG_ENEMY_H +#define TWANG_ENEMY_H + #include "Arduino.h" class Enemy @@ -53,3 +56,5 @@ bool Enemy::Alive(){ void Enemy::Kill(){ _alive = 0; } + +#endif \ No newline at end of file diff --git a/Lava.h b/Lava.h index 6200127..7f2e8f7 100644 --- a/Lava.h +++ b/Lava.h @@ -1,3 +1,6 @@ +#ifndef TWANG_LAVA_H +#define TWANG_LAVA_H + #include "Arduino.h" class Lava @@ -35,3 +38,5 @@ void Lava::Kill(){ int Lava::Alive(){ return _alive; } + +#endif \ No newline at end of file diff --git a/Particle.h b/Particle.h index b9b4ff2..baa076f 100644 --- a/Particle.h +++ b/Particle.h @@ -1,3 +1,6 @@ +#ifndef TWANG_PARTICLE_H +#define TWANG_PARTICLE_H + #include "Arduino.h" #define FRICTION 1 @@ -57,3 +60,5 @@ bool Particle::Alive(){ void Particle::Kill(){ _alive = 0; } + +#endif \ No newline at end of file diff --git a/Spawner.h b/Spawner.h index 797e81e..bd363bb 100644 --- a/Spawner.h +++ b/Spawner.h @@ -1,3 +1,6 @@ +#ifndef TWANG_SPAWNER_H +#define TWANG_SPAWNER_H + #include "Arduino.h" class Spawner @@ -33,3 +36,5 @@ void Spawner::Kill(){ int Spawner::Alive(){ return _alive; } + +#endif \ No newline at end of file diff --git a/TWANG4809.ino b/TWANG4809.ino_unused similarity index 100% rename from TWANG4809.ino rename to TWANG4809.ino_unused diff --git a/iSin.h b/iSin.h index 29b3d15..5c09a17 100644 --- a/iSin.h +++ b/iSin.h @@ -1,3 +1,6 @@ +#ifndef TWANG_ISIN_H +#define TWANG_ISIN_H + #include "Arduino.h" class iSin @@ -36,3 +39,5 @@ int iSin::convert(long x) if (pos) return isinTable8[x]/2 ; return -isinTable8[x]/2 ; } + +#endif \ No newline at end of file