Add line collision checking to geom2d functions.

This commit is contained in:
2023-06-23 01:08:09 -07:00
parent 60c8317b20
commit 5a8527f51b
7 changed files with 2307 additions and 10 deletions
+6
View File
@@ -90,6 +90,9 @@ void Monster::PerformJumpAnimation(){
case SLIME_RED:{
animation.ChangeState(internal_animState,AnimationState::RED_SLIME_JUMP);
}break;
case SLIME_YELLOW:{
animation.ChangeState(internal_animState,AnimationState::YELLOW_SLIME_JUMP);
}break;
}
}
void Monster::PerformShootAnimation(){
@@ -103,6 +106,9 @@ void Monster::PerformShootAnimation(){
case SLIME_RED:{
animation.ChangeState(internal_animState,AnimationState::RED_SLIME_SPIT);
}break;
case SLIME_YELLOW:{
animation.ChangeState(internal_animState,AnimationState::YELLOW_SLIME_SPIT);
}break;
}
}
void Monster::SetX(float x){