mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
21 lines
259 B
C++
21 lines
259 B
C++
#pragma once
|
|
#include "Mobs.h"
|
|
|
|
#include <Godot.hpp>
|
|
#include <KinematicBody2D.hpp>
|
|
|
|
class Player
|
|
{
|
|
// Godot structure
|
|
public:
|
|
const int speed = 100;
|
|
const int gravity = 90;
|
|
const int power_jump = -2500;
|
|
|
|
godot::Vector2 velocity;
|
|
|
|
public:
|
|
Player();
|
|
};
|
|
|