From 3422a87bdb087b6d927203e266beb71027779dbe Mon Sep 17 00:00:00 2001 From: "Dobbertin, Niclas" Date: Sat, 24 Jun 2023 23:04:23 +0200 Subject: init code --- characters.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 characters.h (limited to 'characters.h') diff --git a/characters.h b/characters.h new file mode 100644 index 0000000..ba1ffb2 --- /dev/null +++ b/characters.h @@ -0,0 +1,20 @@ +#ifndef CHARACTERS_H_ +#define CHARACTERS_H_ + +#include "player.h" + +const struct Player TEMPLATE_1 = { + 100, // pos x + 100, // pos y + 100, // vel x + 100, // vel y + 0, // accel x + 0, // accel y + 100, // max vel x + 100, // max vel y + 100, // hp + 0, // geometry + 0 // geometry len +}; + +#endif // CHARACTERS_H_ -- cgit v1.2.3