renamed player to players, correct kill position used in gameover, corrected score, MAX_PLAYERS moved to config
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "Arduino.h"
|
||||
#include "config.h"
|
||||
|
||||
class Enemy
|
||||
{
|
||||
@@ -9,7 +10,7 @@ class Enemy
|
||||
bool Alive();
|
||||
int _pos;
|
||||
int _wobble;
|
||||
int playersSide[4]; // This should be MAX_PLAYERS
|
||||
int playersSide[MAX_PLAYERS];
|
||||
private:
|
||||
int _dir;
|
||||
int _speed;
|
||||
|
||||
Reference in New Issue
Block a user