feat(game): renamed fencer to beat-em-up and added SpawnPlayer to play

This commit is contained in:
Sara 2023-11-24 16:23:24 +01:00
parent d1870e7a19
commit 01d9a9417d

View file

@ -1,7 +1,10 @@
#include "program.h" #include "program.h"
#include "Player.h"
static static
void play() {} void play() {
SpawnPlayer(ZeroVector);
}
static static
void tick() {} void tick() {}
@ -11,7 +14,7 @@ void draw() {}
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
struct ProgramSettings config = { struct ProgramSettings config = {
.target_fps = 240, .target_fps = 80,
.title = "fencer", .title = "fencer",
.view_resolution = {1920, 1080}, .view_resolution = {1920, 1080},
.on_play = &play, .on_play = &play,