MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / Action

Method Action

src/Engine/Action.cpp:33–35  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

31 * @param ev Pointer to SDL_event.
32 */
33Action::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
37Action::~Action()
38{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected