TallerGrupo4/TPWorms

Aca sería un ActionStopMoving o me equivoco?

Closed this issue · 0 comments

switch (keyEvent.keysym.sym) {
case SDLK_LEFT:
action = std::make_shared<ActionMovLeft>();
client.send_action(action);
//player.stopMoving();
break;
case SDLK_RIGHT:
action = std::make_shared<ActionMovRight>();
client.send_action(action);
//player.stopMoving();