From 16c6d891d2236a30bb742c5bd4d0ac4e56bb901e Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 3 May 2005 18:04:14 +0000 Subject: use class Mountains use class Mountains --- src/Hill.H | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'src/Hill.H') diff --git a/src/Hill.H b/src/Hill.H index b46c8d7..71135d0 100644 --- a/src/Hill.H +++ b/src/Hill.H @@ -1,5 +1,5 @@ // -// "$Id: Hill.H,v 1.6 2005/04/30 21:18:43 hofmann Exp $" +// "$Id: Hill.H,v 1.7 2005/05/03 20:04:14 hofmann Exp $" // // X11 header file for the Fast Light Tool Kit (FLTK). // @@ -57,4 +57,26 @@ class Mountain { Mountain * get_next_visible(); }; + + +class Mountains { + private: + int num, cap; + Mountain **m; + + public: + Mountains(); + + ~Mountains(); + + void add(Mountain *m); + + void clear(); + + void clobber(); + + int get_num(); + + Mountain *get(int n); +}; #endif -- cgit v1.2.3