mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 18:08:35 -07:00
Add NFC Maker and Jetpack Joyride apps
This commit is contained in:
21
applications/external/jetpack_joyride/includes/particle.h
vendored
Normal file
21
applications/external/jetpack_joyride/includes/particle.h
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
|
||||
#ifndef PARTICLE_H
|
||||
#define PARTICLE_H
|
||||
|
||||
#include "point.h"
|
||||
#include "scientist.h"
|
||||
#include "barry.h"
|
||||
|
||||
#define PARTICLES_MAX 50
|
||||
#define PARTICLE_VELOCITY 2
|
||||
|
||||
typedef struct {
|
||||
POINT point;
|
||||
} PARTICLE;
|
||||
|
||||
void particle_tick(PARTICLE* const particles, SCIENTIST* const scientists);
|
||||
void spawn_random_particles(PARTICLE* const particles, BARRY* const barry);
|
||||
void draw_particles(const PARTICLE* particles, Canvas* const canvas);
|
||||
|
||||
#endif // PARTICLE_H
|
||||
Reference in New Issue
Block a user