mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Let's code
This commit is contained in:
21
DungeonAndDeamonScript/DungeonAndDemaonScript/Player.h
Normal file
21
DungeonAndDeamonScript/DungeonAndDemaonScript/Player.h
Normal file
@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include "Mobs.h"
|
||||
|
||||
#include <Godot.hpp>
|
||||
#include <KinematicBody2D.hpp>
|
||||
|
||||
class Player :
|
||||
public Mobs
|
||||
{
|
||||
// Godot structure
|
||||
private:
|
||||
GODOT_CLASS(Player, KinematicBody2D)
|
||||
|
||||
public:
|
||||
void static _register_methods();
|
||||
void _process(float delta);
|
||||
|
||||
public:
|
||||
Player();
|
||||
};
|
||||
|
Reference in New Issue
Block a user