* Creates a new action. * @param scaleX Screen's X scaling factor. * @param scaleY Screen's Y scaling factor. * @param topBlackBand Screen's top black band height. * @param leftBlackBand Screen's left black band width. * @param ev Pointer to SDL_event. */
| 31 | * @param ev Pointer to SDL_event. |
| 32 | */ |
| 33 | Action::Action(SDL_Event *ev, double scaleX, double scaleY, int topBlackBand, int leftBlackBand) : _ev(ev), _scaleX(scaleX), _scaleY(scaleY), _topBlackBand(topBlackBand), _leftBlackBand(leftBlackBand), _mouseX(-1), _mouseY(-1), _surfaceX(-1), _surfaceY(-1), _sender(0) |
| 34 | { |
| 35 | } |
| 36 | |
| 37 | Action::~Action() |
| 38 | { |
nothing calls this directly
no outgoing calls
no test coverage detected