Prep player class structure refactor. Add default destructors to all parent classes.
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ const float Player::GROUND_SLAM_SPIN_TIME=0.6f;
|
||||
Player::Player():
|
||||
state(State::NORMAL),lastReleasedMovementKey(DOWN),facingDirection(DOWN){}
|
||||
|
||||
void Player::SetClass(Class cl){
|
||||
void Player::ChangeClass(Class cl){
|
||||
this->cl=CLASS_DATA[cl]->cl;
|
||||
rightClickAbility=CLASS_DATA[cl]->rightClickAbility;
|
||||
ability1=CLASS_DATA[cl]->ability1;
|
||||
|
||||
Reference in New Issue
Block a user