mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
modif ennemie et tentative de mouvement
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
#include <CollisionShape2D.hpp>
|
||||
#include <Sprite.hpp>
|
||||
#include "MobsCorpACorp.h"
|
||||
#include <Node2D.hpp>
|
||||
|
||||
|
||||
using namespace godot;
|
||||
|
||||
@ -33,11 +35,13 @@ public:
|
||||
|
||||
void createMobsCorpACorp();
|
||||
void setupMobsCorpACorp();
|
||||
void mouvement();
|
||||
void setPosition(int x, int y);
|
||||
|
||||
|
||||
public:
|
||||
void Action();
|
||||
const int gravity = 90;
|
||||
|
||||
|
||||
private:
|
||||
Vector2 velocity;
|
||||
Vector2 FLOOR;
|
||||
};
|
||||
|
Reference in New Issue
Block a user