summaryrefslogtreecommitdiff
path: root/src/Hill.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hill.cxx')
-rw-r--r--src/Hill.cxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/Hill.cxx b/src/Hill.cxx
index 2790712..550f925 100644
--- a/src/Hill.cxx
+++ b/src/Hill.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Hill.cxx,v 1.3 2005/04/13 21:58:31 hofmann Exp $"
+// "$Id: Hill.cxx,v 1.4 2005/04/30 21:18:43 hofmann Exp $"
//
// PSEditWidget routines.
//
@@ -38,6 +38,18 @@ Mountain::Mountain(const char *n, double p, double l, double h) {
next_visible = NULL;
}
+Mountain::Mountain(int x_tmp, int y_tmp) {
+ name = "";
+ phi = 0.0;
+ lam = 0.0;
+ height = 0.0;
+ alph = 0.0;
+ x = x_tmp;
+ y = y_tmp;
+ next = NULL;
+ next_visible = NULL;
+}
+
Mountain::~Mountain() {
if (next) {
delete(next);