Moving walk and jump components here

This commit is contained in:
AnonymusRaccoon
2020-01-02 17:54:33 +01:00
parent a0f761256b
commit 018b5ecc00
11 changed files with 293 additions and 3 deletions
+19
View File
@@ -0,0 +1,19 @@
/*
** EPITECH PROJECT, 2019
** MUL_my_runner_2019
** File description:
** walk_action
*/
#pragma once
#include "component.h"
#include <stdbool.h>
struct jump_action
{
gc_component base;
int acceleration;
};
extern const struct jump_action jump_action;
+20
View File
@@ -0,0 +1,20 @@
/*
** EPITECH PROJECT, 2019
** MUL_my_runner_2019
** File description:
** walk_action
*/
#pragma once
#include "component.h"
#include <stdbool.h>
struct walk_action
{
gc_component base;
int acceleration;
int max_acceleration;
};
extern const struct walk_action walk_action;
+12
View File
@@ -0,0 +1,12 @@
/*
** EPITECH PROJECT, 2019
** MUL_my_runner_2019
** File description:
** texture_renderer_system
*/
#pragma once
#include "system.h"
const gc_system jump_system;
+12
View File
@@ -0,0 +1,12 @@
/*
** EPITECH PROJECT, 2019
** MUL_my_runner_2019
** File description:
** texture_renderer_system
*/
#pragma once
#include "system.h"
extern const gc_system walk_system;