feat: play() now spawns an enemy

This commit is contained in:
Sara 2023-11-29 11:48:02 +01:00
parent 58e93e3336
commit b3622ab279

View file

@ -2,6 +2,7 @@
#include "shape.h"
#include "Player.h"
#include "Prop.h"
#include "Enemy.h"
static
void play() {
@ -16,6 +17,7 @@ void play() {
MakeVector(0.5f, .93f)
);
SpawnPlayer(ZeroVector);
SpawnEnemy(MakeVector(1.f, 0.0f), EnemyIdle());
}
static