mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Update
This commit is contained in:
@ -1,4 +1,8 @@
|
||||
#pragma once
|
||||
#include <CircleShape2D.hpp>
|
||||
#include <CollisionShape2D.hpp>
|
||||
#include <Sprite.hpp>
|
||||
|
||||
#include "GestionCollision.h"
|
||||
#include "GestionIdentifiant.h"
|
||||
#include "GestionItem.h"
|
||||
@ -6,14 +10,33 @@
|
||||
#include "GestionPlayer.h"
|
||||
#include "GestionTerrain.h"
|
||||
|
||||
class GestionJeu
|
||||
using namespace godot;
|
||||
|
||||
class GestionJeu : public Node2D
|
||||
{
|
||||
public:
|
||||
private:
|
||||
GODOT_CLASS(GestionJeu, Node2D)
|
||||
|
||||
public:
|
||||
//Gestion des deifferents parties du jeu
|
||||
GestionPlayer* gPlayer;
|
||||
GestionMobs gMobs;
|
||||
GestionTerrain gTerrain;
|
||||
GestionCollision gCollision;
|
||||
GestionItem gItem;
|
||||
GestionIdentifiant gId;
|
||||
|
||||
public:
|
||||
GestionJeu();
|
||||
~GestionJeu();
|
||||
|
||||
void static _register_methods();
|
||||
void _init();
|
||||
void _ready();
|
||||
void _process();
|
||||
|
||||
private:
|
||||
void create_scene();
|
||||
void setup_scene();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user