World In Balance game
Dependencies: 4DGL-uLCD-SE PinDetect mbed
ScreenObject.cpp
- Committer:
- jchin32
- Date:
- 2017-11-08
- Revision:
- 0:1305fa20a8db
File content as of revision 0:1305fa20a8db:
#include "ScreenObject.h" int ScreenObject::getX() const { return xPos; } int ScreenObject::getY() const { return yPos; } int ScreenObject::getHeight() const { return height; } int ScreenObject::getWidth() const { return width; } int* ScreenObject::getSprite() const { return sprite; } bool ScreenObject::getDestroyed() const { return destroyed; } void ScreenObject::setX(int xPos) { this->xPos = xPos; } void ScreenObject::setY(int yPos) { this->yPos = yPos; } void ScreenObject::setHeight(int height) { this->height = height; } void ScreenObject::setWidth(int width) { this->width = width; } void ScreenObject::setSprite(int * sprite) { this->sprite = sprite; } void ScreenObject::setDestroyed(bool destroyed) { this->destroyed = destroyed; }