World In Balance game

Dependencies:   4DGL-uLCD-SE PinDetect mbed

AbstractAsteroid.h

Committer:
jchin32
Date:
2017-11-08
Revision:
0:1305fa20a8db

File content as of revision 0:1305fa20a8db:

#ifndef __ABSTRACTASTEROID_H__
#define __ABSTRACTASTEROID_H__

#include "ScreenObject.h"

class AbstractAsteroid : public ScreenObject {
    public:
    int getXPath() const;
    int getYPath() const;
    int getSpeed() const;
    void setXPath(int);
    void setYPath(int);
    void setSpeed(int);
    virtual void draw();
    virtual void update();
    
    private:
    int xPath;
    int yPath;
    int speed;       
};

#endif