mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Debut mouvement Mob
This commit is contained in:
@ -26,7 +26,7 @@ private:
|
||||
|
||||
public:
|
||||
MobsCorpACorp m;
|
||||
GestionPlayer* gPlayer;
|
||||
|
||||
public:
|
||||
MobsCorpACorpIA();
|
||||
|
||||
@ -47,7 +47,9 @@ private:
|
||||
void createMobsCorpACorp();
|
||||
void setupMobsCorpACorp();
|
||||
void mouvement(float dt);
|
||||
void setPosition(int x, int y);
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
bool on_ground = false;
|
||||
@ -63,5 +65,9 @@ public:
|
||||
const float speed = 100.f;
|
||||
const float power_jump = -5.0f * GamePlayMultiplicator;
|
||||
|
||||
|
||||
public:
|
||||
Vector2 TargetPosition;
|
||||
public:
|
||||
void UpdateTargetPosition(Vector2 _TargetPosition) { TargetPosition = _TargetPosition; }
|
||||
void setPosition(int x, int y);
|
||||
};
|
||||
|
Reference in New Issue
Block a user