mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Changement Gestion Player
This commit is contained in:
@ -13,10 +13,8 @@ class GestionPlayer : public KinematicBody2D
|
||||
{
|
||||
public:
|
||||
Sprite* sprite_player_ptr;
|
||||
CollisionShape2D* collision_player_ptr;
|
||||
|
||||
Ref<Resource> texture_player_ptr;
|
||||
Ref<CircleShape2D> shape_player_ptr;
|
||||
|
||||
private:
|
||||
GODOT_CLASS(GestionPlayer, KinematicBody2D)
|
||||
@ -36,7 +34,10 @@ public:
|
||||
|
||||
public:
|
||||
void traitementInput();
|
||||
|
||||
void setPosition(int x, int y);
|
||||
|
||||
private:
|
||||
void droit();
|
||||
void gauche();
|
||||
void bas();
|
||||
|
Reference in New Issue
Block a user