Add line collision checking to geom2d functions.
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user