#include "paddle.h"

int Paddle::numOfPaddles = 0;

void Paddle::update()
{
    al_get_mouse_state(&mouseState);
    mouseY = al_get_mouse_state_axis(&mouseState, 1);

    setPosition(x, mouseY);
}

void Paddle::reset()
{
    al_get_mouse_state(&mouseState);
    mouseY = al_get_mouse_state_axis(&mouseState, 1);

    setPosition(x, mouseY);
}
#include "Paddle.h"

int Paddle::numOfPaddles = 0;

void Paddle::update()
{
    al_get_mouse_state(&mouseState);
    mouseY = al_get_mouse_state_axis(&mouseState, 1);

    setPosition(x, mouseY);
}

void Paddle::reset()
{
    al_get_mouse_state(&mouseState);
    mouseY = al_get_mouse_state_axis(&mouseState, 1);

    setPosition(x, mouseY);
}

FIx GCC was unable to compile in Linux
FIx GCC was unable to compile in Linux

GCC is a case sensitive program in Linux and a #include directive was incorrectly typed.

Previous              New
paddle.h      ->      Paddle.h
