00001 #ifndef _AXLE_H 00002 #define _AXLE_H 00003 00004 #include "stdafx.h" 00005 00008 class Axle 00009 { 00010 public: 00011 00012 Axle(); 00013 Axle(int i, double t, double v, double x, double w, int dirn); 00014 virtual ~Axle(); 00015 00016 double getWeight(); 00017 double getSpacing(); 00018 00019 void setWeight(double w); 00020 void setSpacing(double space); 00021 00022 void UpdatePosition(double time); 00023 00024 private: 00026 double spacing; 00028 double weight; 00029 00030 }; 00031 #endif