21 virtual void setIVoxieBoxPtr(
IVoxieBox * voxiePtr) { this->voxiePtr = voxiePtr; }
22 virtual IVoxieBox *getIVoxieBoxPtr() {
return voxiePtr; }
34 bool isActive() {
return active; };
35 void setActive(
bool option) {
52 virtual void draw() { ; }
56 void setDrawable(
bool option) {
71 virtual void onBreath() { ; };
75 void setBreathable(
bool option) {
78 bool getBreathable() {
83 bool breathable =
true;
91 void moveTo(
int newPosX,
int newPosY) { posX = newPosX; posY = newPosY; }
92 int getPosX() {
return posX; }
93 int getPosY() {
return posY; }
94 int getGroupID() {
return groupID; }
95 void setGroupID(
int newGroupID) { groupID = newGroupID; }
98 int posX = 0, posY = 0, groupID = -1;
IActive interface allows a class to be 'active'. Set to true of false.
Definition: vxInterfaces.h:30
IBreathable classes which inherit this interface can be added to the 'breathable' vector and updated ...
Definition: vxInterfaces.h:67
IDrawable classes which inherit are 'drawable' interface can be added to the 'drawable' vector and dr...
Definition: vxInterfaces.h:49
Interface used to create 2D UIs.
Definition: vxInterfaces.h:88
Interface for VoxieBox class.
Definition: vxCPP.h:171
IVoxiePtr classes which inherit this interface require access to IVoxieBox pointer.
Definition: vxInterfaces.h:18
Header file for VxCpp.dll outlines the VoxieBox class and the IVoxieBox interface.