// (C) 2011 Underground Software
// See the README and GPLv3 files for licensing and warranty information
//
// (C) 2011 Underground Software
// See the README and GPLv3 files for licensing and warranty information
//
// JLH 04/01/2011 Added constructor to allow derived objects to have empty
// constructor bodies, added state querying
// JLH 04/02/2001 Added static methods for global states (fixed angle, etc)
// JLH 04/01/2011 Added constructor to allow derived objects to have empty
// constructor bodies, added state querying
// JLH 04/02/2001 Added static methods for global states (fixed angle, etc)
int Object::viewportHeight = 0;
bool Object::deleteActive = false;
bool Object::dimensionActive = false;
int Object::viewportHeight = 0;
bool Object::deleteActive = false;
bool Object::dimensionActive = false;
Object::Object(): position(Vector(0, 0)), parent(0), state(OSInactive), oldState(OSInactive),
Object::Object(): position(Vector(0, 0)), parent(0), state(OSInactive), oldState(OSInactive),
{
}
Object::Object(Vector v, Object * passedInParent/*= 0*/): position(v), parent(passedInParent),
{
}
Object::Object(Vector v, Object * passedInParent/*= 0*/): position(v), parent(passedInParent),
- state(OSInactive), oldState(OSInactive), needUpdate(false), dimPoint1(0), dimPoint2(0)
+ state(OSInactive), oldState(OSInactive), needUpdate(false), attachedDimension(0)