Adilol

Car.h concept

Aug 19th, 2011
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. class CAR: public VEHICLE
  2. {
  3.      private:
  4.          int speed;
  5.          int horsepower;
  6.          int fuel;
  7.     public:
  8.         PLAYER();
  9.         void SetSpeed(int newspeed);
  10.         int GetSpeed();
  11.         void SetHorsepower(int newhp);
  12.         int GetHorsepower();
  13.         void SetFuel(int newfuel);
  14.         int GetFuel();
  15. /*
  16. more coming
  17. very rough draft and concept
  18. ~Adil
  19. */
Advertisement
Add Comment
Please, Sign In to add comment