feat: play() now spawns an enemy
This commit is contained in:
parent
58e93e3336
commit
b3622ab279
|
@ -2,6 +2,7 @@
|
||||||
#include "shape.h"
|
#include "shape.h"
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "Prop.h"
|
#include "Prop.h"
|
||||||
|
#include "Enemy.h"
|
||||||
|
|
||||||
static
|
static
|
||||||
void play() {
|
void play() {
|
||||||
|
@ -16,6 +17,7 @@ void play() {
|
||||||
MakeVector(0.5f, .93f)
|
MakeVector(0.5f, .93f)
|
||||||
);
|
);
|
||||||
SpawnPlayer(ZeroVector);
|
SpawnPlayer(ZeroVector);
|
||||||
|
SpawnEnemy(MakeVector(1.f, 0.0f), EnemyIdle());
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
|
|
Loading…
Reference in a new issue