5 #include "Coordinate.h"
7 extern bool globWarningFlag;
8 extern bool globReportFlag;
77 return ((newWidth * 0.5) >= abs(xPos_()));
82 return ((newDepth * 0.5) >= abs(yPos_()));
87 return ((newHeight * 0.5) >= abs(zPos_()));
bool checkDepth(double newDepth)
Check if a room's new depth will still contain this object.
virtual void printPos() const =0
Virtual function that must be overriden in derived classes. Prints position for this object...
double xPos() const
Get x position.
bool flag() const
True if object has moved.
bool checkWidth(double newWidth)
Check if a room's new width will still contain this object.
bool checkHeight(double newHeight)
Check if a room's new height will still contain this object.
double zPos() const
Get z position.
Moveable()
Class constructor.
double yPos() const
Get y position.