#ifndef __AATRIANGLE_H__
#define __AATRIANGLE_H__
-#include "rectangle.h"
+#include "rect.h"
/**
* An axis aligned triangle (ie. a triangle where 2 sides are parallel to the x-
* and y-axis.
*/
-class AATriangle : public Rectangle
+class AATriangle : public Rect
{
public:
/** Directions:
{
}
AATriangle(const Vector& v1, const Vector& v2, int newdir)
- : Rectangle(v1, v2), dir(newdir)
+ : Rect(v1, v2), dir(newdir)
{
}