feat(game): renamed fencer to beat-em-up and added SpawnPlayer to play
This commit is contained in:
parent
d1870e7a19
commit
01d9a9417d
|
@ -1,7 +1,10 @@
|
|||
#include "program.h"
|
||||
#include "Player.h"
|
||||
|
||||
static
|
||||
void play() {}
|
||||
void play() {
|
||||
SpawnPlayer(ZeroVector);
|
||||
}
|
||||
|
||||
static
|
||||
void tick() {}
|
||||
|
@ -11,7 +14,7 @@ void draw() {}
|
|||
|
||||
int main(int argc, char* argv[]) {
|
||||
struct ProgramSettings config = {
|
||||
.target_fps = 240,
|
||||
.target_fps = 80,
|
||||
.title = "fencer",
|
||||
.view_resolution = {1920, 1080},
|
||||
.on_play = &play,
|
Loading…
Reference in a new issue