#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"

class Rock
{
public: 
    void init(int x, int y, int size);                                          //sets private variables to inputs
    void render(N5110 &lcd);                                                    //draws rock
    //accessors and mutators//
    Vector2D get_position();                                                    //returns position of the rock
    void set_life(bool x);                                                      //sets the life variable of the rock
    bool get_life();                                                            //returns the life variable of the rock
    
private:
    int _x;                                                                     //x position of the rock
    int _y;                                                                     //y position of the rock
    bool _life;                                                                 //life variable
    int _size;                                                                  //size of the rock

};