[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usata-commits] Changes to usata2/src/usata.hpp
From: |
David Lau |
Subject: |
[Usata-commits] Changes to usata2/src/usata.hpp |
Date: |
Sun, 09 Jan 2005 04:52:24 -0500 |
Index: usata2/src/usata.hpp
diff -u usata2/src/usata.hpp:1.7 usata2/src/usata.hpp:1.8
--- usata2/src/usata.hpp:1.7 Sun Jan 2 06:34:43 2005
+++ usata2/src/usata.hpp Sun Jan 9 08:57:22 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: usata.hpp,v 1.7 2005/01/02 06:34:43 skunix Exp $
+// $Id: usata.hpp,v 1.8 2005/01/09 08:57:22 skunix Exp $
#ifndef USATA_USATA_HPP
#define USATA_USATA_HPP
@@ -29,16 +29,15 @@
private:
void setup_video();
std::auto_ptr<TextureManager> texture_manager;
- std::auto_ptr<SceneManager> scene;
+ std::auto_ptr<SceneManager> scene_manager;
bool quit;
public:
Usata();
~Usata();
int run();
int loop();
- bool add_object(Object*);
- bool add_object_gui(Object*);
- void remove_object(Object*);
+
+ SceneManager& scene() const { return *scene_manager.get(); }
};