Making a proper jump

This commit is contained in:
AnonymusRaccoon
2020-01-03 12:06:50 +01:00
parent 786855bbb4
commit 5c2e400d2d
11 changed files with 161 additions and 5 deletions
+19
View File
@@ -0,0 +1,19 @@
/*
** EPITECH PROJECT, 2019
** Gamacon
** File description:
** gravity_component
*/
#pragma once
#include "component.h"
struct gravity_component
{
gc_component base;
int gravity_speed;
int max_speed;
};
extern const struct gravity_component gravity_component;
+1
View File
@@ -14,6 +14,7 @@ struct jump_action
{
gc_component base;
int acceleration;
int max_acceleration;
};
extern const struct jump_action jump_action;