Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
EnemySpawner/EnemySpawner.h
- Committer:
- adat80
- Date:
- 2019-04-21
- Revision:
- 1:3916f272663e
- Child:
- 3:97cd7b3d89d0
File content as of revision 1:3916f272663e:
#ifndef ENEMYSPAWNER_H #define ENEMYSPAWNER_H #include "mbed.h" #include "Gamepad.h" #include "Enemy.h" class EnemySpawner { public: EnemySpawner(); ~EnemySpawner(); Enemy* init(int level); void update(int fps); private: float _minTimeBetweenSpawns; float _timeIntoLevel; Enemy *_enemies; int _level; }; #endif