From b3622ab2796d6f6cc86d44daafb51d749caca3ea Mon Sep 17 00:00:00 2001 From: Sara Date: Wed, 29 Nov 2023 11:48:02 +0100 Subject: [PATCH] feat: play() now spawns an enemy --- game/src/beat-em-up.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game/src/beat-em-up.c b/game/src/beat-em-up.c index bee931d..44803bc 100644 --- a/game/src/beat-em-up.c +++ b/game/src/beat-em-up.c @@ -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