Shadow added when player is in air

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
2023-06-12 20:22:40 +00:00
co-authored by AMay
parent 7caef11d94
commit 306473ff9a
3 changed files with 21 additions and 2 deletions
+8
View File
@@ -26,6 +26,10 @@ void Player::SetY(float y){
pos.y=y;
}
void Player::SetZ(float z){
this->z=z;
}
void Player::SetPos(vf2d pos){
this->pos=pos;
}
@@ -42,6 +46,10 @@ float Player::GetY(){
return pos.y;
}
float Player::GetZ(){
return z;
}
int Player::GetHealth(){
return hp;
}