00001 /* 00002 * Physically Based Simulation, SS 2005 00003 * 00004 * Markus Liechti (liechtim@student.ethz.ch) 00005 * Yoshimi Takano (yoshi@student.ethz.ch) 00006 * Stefan Wismer (swismer@student.ethz.ch) 00007 * 00008 * $Id: world.h,v 1.11 2005/06/25 20:23:13 ytakano Exp $ 00009 */ 00010 00011 #ifndef __world_H__ 00012 #define __world_H__ 00013 00014 #include <vector> 00015 #include "bridge.h" 00016 #include "train.h" 00017 00019 class World { 00020 public: 00022 Bridge bridge; 00023 00025 vector<vertex> horizon; 00026 00028 Train train; 00029 00033 bool loadFromFile(char *filename); 00034 00038 bool saveToFile(char *filename); 00039 }; 00040 00041 #endif