Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE PinDetect mbed
ScreenObject.cpp
00001 #include "ScreenObject.h" 00002 00003 int ScreenObject::getX() const { 00004 return xPos; 00005 } 00006 00007 int ScreenObject::getY() const { 00008 return yPos; 00009 } 00010 00011 int ScreenObject::getHeight() const { 00012 return height; 00013 } 00014 00015 int ScreenObject::getWidth() const { 00016 return width; 00017 } 00018 00019 int* ScreenObject::getSprite() const { 00020 return sprite; 00021 } 00022 00023 bool ScreenObject::getDestroyed() const { 00024 return destroyed; 00025 } 00026 00027 void ScreenObject::setX(int xPos) { 00028 this->xPos = xPos; 00029 } 00030 00031 void ScreenObject::setY(int yPos) { 00032 this->yPos = yPos; 00033 } 00034 00035 void ScreenObject::setHeight(int height) { 00036 this->height = height; 00037 } 00038 00039 void ScreenObject::setWidth(int width) { 00040 this->width = width; 00041 } 00042 00043 void ScreenObject::setSprite(int * sprite) { 00044 this->sprite = sprite; 00045 } 00046 00047 void ScreenObject::setDestroyed(bool destroyed) { 00048 this->destroyed = destroyed; 00049 }
Generated on Fri Jul 15 2022 18:55:10 by
1.7.2