button press and blinking led on a button press
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "background.h"
|
||||
#include "mbed.h"
|
||||
#include "player.h"
|
||||
#include "background.h"
|
||||
#include "../game/state.h"
|
||||
#include "../game/animation.h"
|
||||
#include "../game/collision.h"
|
||||
@@ -22,8 +23,6 @@ extern DigitalOut led;
|
||||
constexpr int PLAYER_X = 29;
|
||||
constexpr int PLAYER_Y = 6;
|
||||
|
||||
void draw_mask(const char *unused_filename, int shift);
|
||||
|
||||
void render_loop(int speed) {
|
||||
MovementState player_state;
|
||||
AnimationController animation;
|
||||
|
||||
Reference in New Issue
Block a user