]> Shamusworld >> Repos - architektonas/blobdiff - src/object.cpp
Various fixes to Container/Group handling, added DrawArcAction.
[architektonas] / src / object.cpp
index 8ba3295b5510088a68f13ff8646838c6dd738432..fc8d834cf08fddeac06add6323008458647f26c8 100644 (file)
@@ -87,6 +87,12 @@ printf("Object: Destroyed!\n");
 }
 
 
+/*virtual*/ bool Object::HitTest(Point)
+{
+       return false;
+}
+
+
 // This is intended to be overridden by the Container class, for object morphing
 /*virtual*/ void Object::Transmute(Object *, Object *)
 {
@@ -183,6 +189,22 @@ printf("Object: Destroyed!\n");
 #endif
 
 
+/*virtual*/ void Object::Translate(Vector amount)
+{
+       position += amount;
+}
+
+
+/*virtual*/ void Object::Rotate(Vector, double)
+{
+}
+
+
+/*virtual*/ void Object::Scale(Vector, double)
+{
+}
+
+
 ObjectState Object::GetState(void)
 {
        return state;