16 #include "Coordinate.h"
27 Moveable(
double x,
double y,
double z);
44 void flag(
bool changed);
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.